问答详情
源自:3-2 SSH-案例:分页查询部门

tomcat的问题怎么办

信息: Starting Servlet Engine: Apache Tomcat/7.0.11

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15

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:1911)

at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1800)

at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1759)

at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1745)

at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1249)

at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:876)

at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:317)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5061)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

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:145)

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:145)

at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

at org.apache.catalina.startup.Catalina.start(Catalina.java:620)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:303)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)

出现这个问题怎么办


提问者:慕粉5373310 2019-05-25 12:57

个回答

  • Liu__
    2019-07-16 21:56:50

    换成tomcat8试试