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

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19_第1张图片

[jar:file:/D:/eclipse-jee-oxygen-2-win32-x86_64/apache-tomcat-7.0.67/webapps/PrjFlexJava/WEB-INF/lib/jackson-databind-2.12.1.jar!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19
	at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:97)
	at org.apache.tomcat.util.bcel.classfile.ConstantPool.(ConstantPool.java:55)
	at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:176)
	at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:85)
	at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2104)
	at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1980)
	at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1946)
	at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1931)
	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:5479)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)

==检查版本==

C:\Users\Administrator>java -version
java version "1.8.0_341"
Java(TM) SE Runtime Environment (build 1.8.0_341-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.341-b10, mixed mode)

C:\Users\Administrator>d:

D:\>
D:\>cd  D:\eclipse-jee-oxygen-2-win32-x86_64\apache-tomcat-7.0.67\bin

D:\eclipse-jee-oxygen-2-win32-x86_64\apache-tomcat-7.0.67\bin>
D:\eclipse-jee-oxygen-2-win32-x86_64\apache-tomcat-7.0.67\bin>version
Using CATALINA_BASE:   "D:\eclipse-jee-oxygen-2-win32-x86_64\apache-tomcat-7.0.67"
Using CATALINA_HOME:   "D:\eclipse-jee-oxygen-2-win32-x86_64\apache-tomcat-7.0.67"
Using CATALINA_TMPDIR: "D:\eclipse-jee-oxygen-2-win32-x86_64\apache-tomcat-7.0.67\temp"
Using JRE_HOME:        "D:\Java\jdk1.8.0_341"
Using CLASSPATH:       "D:\eclipse-jee-oxygen-2-win32-x86_64\apache-tomcat-7.0.67\bin\bootstrap.jar;D:\eclipse-jee-oxygen-2-win32-x86_64\apache-tomcat-7.0.67\bin\tomcat-juli.jar"
Server version: Apache Tomcat/7.0.67
Server built:   Dec 7 2015 13:07:11 UTC
Server number:  7.0.67.0
OS Name:        Windows 10
OS Version:     10.0
Architecture:   amd64
JVM Version:    1.8.0_341-b10
JVM Vendor:     Oracle Corporation
D:\eclipse-jee-oxygen-2-win32-x86_64\apache-tomcat-7.0.67\bin>

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19_第2张图片

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19_第3张图片

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19_第4张图片

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19_第5张图片

==下载新的替换吧==打包的JAR版本和TOMCAT冲突,

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19_第6张图片

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19_第7张图片

你可能感兴趣的:(tomcat,tomcat)