java.lang.NoSuchMethodError:java.lang.NoSuchMethodError

编程入门 行业动态 更新时间:2024-10-10 04:22:58
本文介绍了java.lang.NoSuchMethodError:java.lang.NoSuchMethodError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

通过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

本文发布于:2023-11-25 11:37:25,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1629591.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:java   lang   NoSuchMethodError

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!