启动TOMCAT报错 java.util.zip.ZipException: invalid LOC header (bad signature)

java.util.zip.ZipException: invalid LOC header (bad signature)  
    at java.util.zip.ZipFile.read(Native Method)  
    at java.util.zip.ZipFile.access$1400(Unknown Source)  
    at java.util.zip.ZipFile$ZipFileInputStream.read(Unknown Source)  
    at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(Unknown Source)  
    at java.util.zip.InflaterInputStream.read(Unknown Source)  
    at java.io.BufferedInputStream.fill(Unknown Source)  
    at java.io.BufferedInputStream.read(Unknown Source)  
    at java.io.DataInputStream.readInt(Unknown Source)  
    at org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:237)  
    at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:114)  
    at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1917) 

解决方案:

[jar:jndi:/localhost/app/WEB-INF/lib/standard-1.1.2.jar!
原因是这个jar包由于位置原因被破坏了,重新拷贝一个新jar包就ok


—–下面有个“顶”字,你懂得O(∩_∩)O哈哈~
—–乐于分享,共同进步!
—–更多文章请看:http://blog.csdn.net/duruiqi_fx


posted on 2016-11-06 22:06  海南一哥  阅读(508)  评论(0编辑  收藏  举报

导航