錯(cuò)誤信息:
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 aJava.class file
解決辦法:
打開tomcat\conf\catalina.properties文件
tomcat.util.scan.DefaultJarScanner.jarsToSkip節(jié)點(diǎn)增加db2jcc.jar
然后重新啟動(dòng)tomcat,問(wèn)題解決。
tomcat 中使用myeclipse打的包,如果不叫ROOT ,則需要拼接url
例如172.17.2.170:9090/oa/jsp/h5v1/index.jsp