JavaReport-V3-Enterprise-Released.jar报错解决

我的javaweb项目中添加了一个报表JavaReport-V3-Enterprise-Released.jar包就报这个错误,如下

严重: Unable to process Jar entry [com/javareport/CmtModelNode.class] from Jar[jar:file:/D:/Program/apache-tomcat/apache-tomcat-7.0.37/webapps/javaReportTest/WEB-INF/lib/JavaReport-V3-Enterprise-Released.jar!/]for annotations

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




解决方案:

打开MyEclipse的Workspaces\.metadata\.me_tcat7\conf\catalina.properties文件

tomcat.util.scan.DefaultJarScanner.jarsToSkip节点增加JavaReport-V3-Enterprise-Released.jar

现在这个问题就成功解决了


你可能感兴趣的:(javaweb,javaweb,报表,java,tomcat)