DocSys项目的启动错误:Invalid byte tag in constant pool: 19

dw.gofreeteam.com

只从添加了POI 4.0所有的依赖Jar包之后,每次DocSys项目重启都会出现如下错误:

一月 01, 2019 10:43:01 上午 org.apache.catalina.startup.ContextConfig processAnnotationsJar
严重: Unable to process Jar entry [module-info.class] from Jar [jar:file:/C:/Users/Administrator/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/DocSystem/WEB-INF/lib/jaxb-api-2.3.0.jar!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19

 原因是jaxb-api-2.3.0.jar使用了Java9的新特性引起的,可以考虑降版本来解决,但POI 4.0指定的是这个版本,但也不清楚哪个版本可以,由于目前并不影响项目运行,暂时不处理

猜你喜欢

转载自blog.csdn.net/highrain/article/details/85527109