错误信息:
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节点增加db2jcc.jar
然后重新启动tomcat,问题解决。
tomcat 中使用myeclipse打的包,如果不叫ROOT ,则需要拼接url
例如172.17.2.170:9090/oa/jsp/h5v1/index.jsp