天天看點

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

錯誤資訊:

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,問題解決。