通过eclipse运行Tomcat 7 报告的错误是:
Running Tomcat 7 through eclipse The error reported is:
javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internalpiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/IProblem; at org.apache.jasperpiler.JDTCompiler$2.acceptResult(JDTCompiler.java:341)我已经尝试了jasper-jdt-6.0.13.jar和tomcat-6.0.16-jasper-jdt.jar,两者都报告了同样的错误。在某种程度上,我不应该感到惊讶,因为我跑了:
I have tried both jasper-jdt-6.0.13.jar and tomcat-6.0.16-jasper-jdt.jar and both report the same error. In a way I shouldn't be surprised because I ran:
jar tf tomcat-6.0.16-jasper-jdt.jar并且它没有类org.eclipse.jdt.internalpiler.CompilationResult 。但是这个网站 www.java2s/Code/Jar/STUVWXYZ/ Downloadtomcat6016jasperjdtjar.htm 说它确实!! 有人能告诉我正确的jar文件是什么以及从哪里获取它? 这似乎是一个反复出现的主题。 www.findjar 列出了一些声称拥有此课程的罐子 - 但却没有。
and it doesn't have the class org.eclipse.jdt.internalpiler.CompilationResult in it. But this site www.java2s/Code/Jar/STUVWXYZ/Downloadtomcat6016jasperjdtjar.htm says it does!! Can someone tell me what the correct jar file is and where to get it from? It seems to be a recurring theme. www.findjar lists a number of jars that purport to have this class - but do not.
好的,在jasper-compiler-jdt-5.5.23.jar中找到它
OK, Found it in jasper-compiler-jdt-5.5.23.jar
推荐答案在jasper-compiler-jdt-5.5.23.jar中找到它
Found it in jasper-compiler-jdt-5.5.23.jar
更多推荐
java.lang.NoSuchMethodError:java.lang.NoSuchMethodError
发布评论