错误信息:

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

[jar:file:/E:/DEVELOPER/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3/wtpwebapps/nwprj_v2/WEB-INF/lib/db2jcc.jar!/] for annotations

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


解决办法:


打开tomcat\conf\catalina.properties文件

tomcat.util.scan.DefaultJarScanner.jarsToSkip节点增加db2jcc.jar

然后重新启动tomcat,问题解决。