为了账号安全,请及时绑定邮箱和手机立即绑定

启动项目报错:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

启动项目报错:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

慕运维8079593 2018-12-07 13:01:39
这个怎么解决???项目没有问题。从领导手里拿的项目,JDK,tomcat Myeclipse的版本不一样。报了这个错误 其他目前正常。。 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)Caused by: java.lang.IllegalArgumentException: MALFORMED at java.util.zip.ZipCoder.toString(ZipCoder.java:58) at java.util.zip.ZipFile.getZipEntry(ZipFile.java:531) at java.util.zip.ZipFile.access$900(ZipFile.java:56) at java.util.zip.ZipFile$1.nextElement(ZipFile.java:513) at java.util.zip.ZipFile$1.nextElement(ZipFile.java:483) at java.util.jar.JarFile$1.nextElement(JarFile.java:244) at java.util.jar.JarFile$1.nextElement(JarFile.java:239) at org.apache.tomcat.util.scan.FileUrlJar.nextEntry(FileUrlJar.java:77) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1952) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1900) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1885) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1317) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:876) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:374) 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:5355) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more六月 01, 2017 4:25:25 下午 org.apache.catalina.startup.HostConfig deployDirectory严重: Error deploying web application directory C:\tomcat7.0\webapps\ROOTjava.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
查看完整描述

4 回答

?
一只名叫tom的猫

TA贡献1906条经验 获得超3个赞

重新弄个干净点的tomcat试一试

查看完整回答
反对 回复 2018-12-16
?
慕哥9229398

TA贡献1877条经验 获得超6个赞

这个也是干净的,我建了一个项目    tomcat能跑起来

查看完整回答
反对 回复 2018-12-16
?
心有法竹

TA贡献1866条经验 获得超5个赞

换了个tomcat  好了   。。谢谢各位哈

查看完整回答
反对 回复 2018-12-16
?
拉风的咖菲猫

TA贡献1995条经验 获得超2个赞

先检查本地项目能否正常运行,包括Build Path里配置是否正常、jar包是否引用齐全。然后删除tomcat里旧的项目文件,重新部署。

查看完整回答
反对 回复 2018-12-16
  • 4 回答
  • 0 关注
  • 22962 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信