aspose file tools*
The moose likes JBoss/WildFly and the fly likes exception  javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.com Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "exception  javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.com" Watch "exception  javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.com" New topic
Author

exception javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.com

reddy raja
Greenhorn

Joined: Sep 21, 2009
Posts: 17
Hi i am getting this error i searched in net they told me about jboss-app.xml but i am not able to find that in meta-inf ,i am trying to rum that index.jsp which comes with the myeclipse byt it is giving error like


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;
org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCompiler.java:346)
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:335)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:405)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.comp :banghead: ile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
javascript:emoticon(':banghead:');
note The full stack trace of the root cause is available in the JBossWeb/2.0.1.GA logs.

:banghead:
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

Are you packaging any jar files containing org.eclipse.jdt.* classes, in your application? If yes, remove those jars from the application packaging.


Also while posting, please do not use font colours. It makes it difficult to read the post.

[My Blog] [JavaRanch Journal]
 
Don't get me started about those stupid light bulbs.
 
subject: exception javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.com