Tomcat 7没有在我的Eclipse Kepler中运行

时间:2013-11-16 09:40:52

标签: tomcat7 kepler

当我尝试运行tomcat时,它显示错误

信息:启动Servlet引擎:Apache Tomcat / 7.0.14 org.apache.tomcat.util.bcel.classfile.ClassFormatException:常量池中的无效字节标记:15     在org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131)     在org.apache.tomcat.util.bcel.classfile.ConstantPool。(ConstantPool.java:60)     在org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)     在org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)     在org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1930)     在org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1826)     在org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1785)     在org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1771)     在org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1254)     在org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)     在org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:316)     在org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)     在org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)     在org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)     在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)     在org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)     在org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)     在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)     在org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)     在org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)     在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)     在org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)     在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)     在org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)     在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)     在org.apache.catalina.startup.Catalina.start(Catalina.java:620)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     在java.lang.reflect.Method.invoke(Method.java:483)     在org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:303)     在org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)

1 个答案:

答案 0 :(得分:0)

您的下载已损坏 - 在这种情况下再次下载 - 或者您的JDK太旧了。