admin管理员组

文章数量:1576775

[2019-11-16 10:34:00,935] Artifact ssm:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE:   "C:\Users\Administrator.P1Q4CWGKGDHRVGD\.IntelliJIdea2018.2\system\tomcat\Unnamed_(1)_ssm"
Using CATALINA_HOME:   "D:\tomcat\8.5.4"
Using CATALINA_TMPDIR: "D:\tomcat\8.5.4\temp"
Using JRE_HOME:        "D:\Program Files\Java\jdk1.8.0_144"
Using CLASSPATH:       "D:\tomcat\8.5.4\bin\bootstrap.jar;D:\tomcat\8.5.4\bin\tomcat-juli.jar"

…………

16-Nov-2019 10:34:02.679 WARNING [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [4.0]. Default version will be used.
16-Nov-2019 10:34:03.073 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.startup.ContextConfig.processAnnotationsJar Unable to process Jar entry [module-info.class] from Jar [file:/D:/work/ssm/out/artifacts/ssm_war_exploded/WEB-INF/lib/jackson-databind-2.10.0.jar] for annotations
 org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19

 根据查阅资料显示,Invalid byte tag in constant pool: 19是java9中新特性java模板中的错误,而我使用的jdk版本为1.8.0,这个问题应该是不会出现的。仔细阅读报错的原因,发现是 jackson-databind-2.10.0.jar引发的,将jackson的版本降低到2.8.9,成功解决。

本文标签: tagbyteInvalidpoolconstant