Can't execute jar- file: “no main manifest attribute”

后端 未结 30 1979
不知归路
不知归路 2020-11-21 22:30

I have installed an application, when I try to run it (it\'s an executable jar) nothing happens. When I run it from the commandline with:

java -jar \

30条回答
  •  忘掉有多难
    2020-11-21 22:54

    For maven, this is what solved it (for me, for a Veetle codebase on GitHub):

    
    
      
        org.apache.maven.plugins
        maven-shade-plugin
        2.0
        
          
            package
            
              shade
            
            
              
                
                  org.lazydevs.veetle.api.VeetleAPI
                
              
            
          
        
      
     
    
    

    Cheers...

提交回复
热议问题