java.lang.SecurityException: no manifest section for signature file entry

后端 未结 3 891
被撕碎了的回忆
被撕碎了的回忆 2021-01-15 14:53

I have tried suggestions in other threads but they don\'t help me. When I run my jar by java -jar -BigJar.jar I receive exception :

Exception in t

3条回答
  •  一生所求
    2021-01-15 15:13

    It seems like you might be inlcuding the jars twice. First with the zipgroupfilesets and then again with a series of zipfilesets.

    You could probably remove the zipgroupfilesets.

    I believe there is also a problem in your excludes. You could change it to this:

    
        
        
        
    
    

    Or this:

    
    

    See http://ant.apache.org/manual/Types/fileset.html (zipfileset is a form of fileset) for more information on that.

    On another note, something like this might simplify things a bit:

    
        
            
                
                    
                    
                    
                
            
            
                
                    
                    
                
            
        
    
    

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

提交回复
热议问题