当前位置: 代码迷 >> Java Web开发 >> Eclipse 报错org.apache.catalina.LifecycleException: Failed to start component。该怎么解决
  详细解决方案

Eclipse 报错org.apache.catalina.LifecycleException: Failed to start component。该怎么解决

热度:12599   发布时间:2013-02-25 21:21:05.0
Eclipse 报错org.apache.catalina.LifecycleException: Failed to start component。。
各位大侠,有事请求帮助。。。

Eclipse 启动Tomcat出错:

Java code
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)    at org.apache.catalina.startup.Catalina.start(Catalina.java:621)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:597)    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)    ... 7 moreCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)    ... 9 moreCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)    ... 11 moreCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/com.hp.sandbox.AA_Server]]    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)    ... 14 moreCaused by: org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60    at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131)    at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60)    at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)    at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)    at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1967)    at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1858)    at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1826)    at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1812)    at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1306)    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:896)    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:322)    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)    ... 17 more
  相关解决方案