2 fnzf14428547 fnzf14428547 于 2016.03.09 13:24 提问

tomcat启动报错l ,有人知道是哪里的问题吗

这是怎么回事啊

 SEVERE: Unable to process Jar entry [com/mysql/jdbc/LicenseConfiguration.class] from Jar [jar:file:/E:/srpingquartz-demo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/spring-quartz-demo/WEB-INF/lib/mysql-connector-java-5.1.25.jar!/] for annotations
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:202)
    at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:80)
    at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2089)
    at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1965)
    at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1931)
    at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1916)
    at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5412)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

5个回答

wen_wxpk
wen_wxpk   2016.03.09 14:32

mysql-connector-java-5.1.25.jar包有问题

fnzf14428547
fnzf14428547 maven自己下载的,也会有问题吗
接近 2 年之前 回复
Royal_lr
Royal_lr   Ds   Rxr 2016.03.09 14:39

jar可能有问题,,换个试试

qq_19457489
qq_19457489   2016.03.09 15:49

建议下载合适的mysql驱动包,原因可能是jar包不匹配或者jar包文件损坏

xionglangs
xionglangs   Rxr 2016.03.10 15:49

换个tomcat,可能是tomcat版本过低,最好知道以前用的是tomcat几。

x386277405
x386277405   2016.03.11 15:19

可能是jar包损坏,帮刚添加的jar从仓库中删掉,右击你的项目选择Maven, Update Project, 点击 Force Update of Snapshots/Releases.

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!