严重: Unable to process Jar entry [COM/ibm/db2os390/sqlj/custom/DB2SQLJCustomizer.class] from Jar [fil

严重: Unable to process Jar entry [COM/ibm/db2os390/sqlj/custom/DB2SQLJCustomizer.class] from Jar [file:/D:/gongzuo/apache-tomcat-9.0.0.M22-windows-x64/apache-tomcat-9.0.0.M22/wtpwebapps/vmp/WEB-INF/lib/db2jcc.jar] for annotations

org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file

网上百度答案:

https://blog.csdn.net/gnail_oug/article/details/78548279?locationNum=10&fps=1

我按帖子上的步骤来弄,还是报错,在tomcat7.0.47、tomcat8.037及tomcat9.0.0上都试过无效,最后发现这个方法需要高版本的tomcat7才行,用tomcat7.0.88测试无报错了。又坑了半天。。。。

猜你喜欢

转载自blog.csdn.net/sinat_39395105/article/details/80746199