Error while creating consolidated jar file - no manifiest section for signature file entry javax/mail/internet/ContentDisposition.class

前端 未结 4 1244
长情又很酷
长情又很酷 2020-12-18 09:48

I have some jar files into /libs/ and my project classes are located at /target/. To remove dependency on external folder. I want to make a consolidate jar file. Which conta

4条回答
  •  北海茫月
    2020-12-18 10:23

    Something like this might work for you.

    
        
            
                
                    
                    
                    
                
            
            
                
                    
                
            
        
        
            
        
    
    

    I adapted this from the example at http://ant.apache.org/manual/Tasks/jar.html under the "Merging archives" section.

提交回复
热议问题