开发者

java.lang.NoSuchMethodError: java.lang.NoSuchMethodError

Running Tomcat 7 through eclipse The error reported is:

javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.Compilatio开发者_如何学编程nResult.getProblems()[Lorg/eclipse/jdt/core/compiler/IProblem;
at org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCompiler.java:341)

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

and it doesn't have the class org.eclipse.jdt.internal.compiler.CompilationResult in it. But this site http://www.java2s.com/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. http://www.findjar.com lists a number of jars that purport to have this class - but do not.

OK, Found it in jasper-compiler-jdt-5.5.23.jar


Found it in jasper-compiler-jdt-5.5.23.jar

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜