Tomcat Error deploying configuration descriptor...的错误处理

                              Tomcat Error deploying configuration descriptor...的错误处理

 

错误日志如下;

 Error deploying configuration descriptor jeecg.xml
 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:1911)

catalina

解决方法在%CATALINA_HOME%/conf/web.xml 更改如下:

<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" metadata-complete="true">

 

你可能感兴趣的:(Tomcat Error deploying configuration descriptor...的错误处理)