Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Broken JSP: Wrong JDT version?
Broken JSP: Wrong JDT version? [message #192915] Mon, 21 May 2007 14:22 Go to next message
Noel Bush is currently offline Noel Bush
Messages: 38
Registered: July 2009
Member
Using the wtp-all-in-one-sdk-R-1.5.4, I've created a Tomcat 5.5 server
and a new Dynamic Web Project, and added a hello world jspx page.
Unfortunately, I get the error message below when I try to view that
simple page. As far as I can tell from Googling this error, this has
something to do with the wrong version of the JDT in the classpath. But
I cannot figure out how to verify this, or to change the JDT version
used -- and in fact I cannot locate on my system a jdt.core jar of a
version other than 3.2.3.v_686_R32x.

Can anyone help me understand what's going on? Thanks!

java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.CompilationResult.getProbl ems()[Lorg/eclipse/jdt/core/compiler/IProblem;
at
org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCom piler.java:345)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler. java:417)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTComp iler.java:404)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:29 7)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:27 6)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:26 4)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:563)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:303)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
May 21, 2007 2:21:36 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.CompilationResult.getProbl ems()[Lorg/eclipse/jdt/core/compiler/IProblem;
at
org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCom piler.java:345)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler. java:417)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTComp iler.java:404)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:29 7)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:27 6)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:26 4)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:563)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:303)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

Noel
Re: Broken JSP: Wrong JDT version? [message #192923 is a reply to message #192915] Mon, 21 May 2007 15:57 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1298
Registered: July 2009
Senior Member
The JDT in question should be the one in the jasper-compiler-jdt.jar in
the common/lib of your Tomcat 5.5 installation. It's not clear how a
wrong version would get on the classpath of the server. Does your
simple hello world page work successfully using the Tomcat installation
directly?

Cheers,
Larry

Noel Bush wrote:
> Using the wtp-all-in-one-sdk-R-1.5.4, I've created a Tomcat 5.5 server
> and a new Dynamic Web Project, and added a hello world jspx page.
> Unfortunately, I get the error message below when I try to view that
> simple page. As far as I can tell from Googling this error, this has
> something to do with the wrong version of the JDT in the classpath. But
> I cannot figure out how to verify this, or to change the JDT version
> used -- and in fact I cannot locate on my system a jdt.core jar of a
> version other than 3.2.3.v_686_R32x.
>
> Can anyone help me understand what's going on? Thanks!
>
> java.lang.NoSuchMethodError:
> org.eclipse.jdt.internal.compiler.CompilationResult.getProbl ems()[Lorg/eclipse/jdt/core/compiler/IProblem;
>
> at
> org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCom piler.java:345)
> at
> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler. java:417)
> at
> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTComp iler.java:404)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:29 7)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:27 6)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:26 4)
> at
> org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:563)
>
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:303)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
>
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
>
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>
> at java.lang.Thread.run(Thread.java:595)
> May 21, 2007 2:21:36 PM org.apache.catalina.core.StandardWrapperValve
> invoke
> SEVERE: Servlet.service() for servlet jsp threw exception
> java.lang.NoSuchMethodError:
> org.eclipse.jdt.internal.compiler.CompilationResult.getProbl ems()[Lorg/eclipse/jdt/core/compiler/IProblem;
>
> at
> org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCom piler.java:345)
> at
> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler. java:417)
> at
> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTComp iler.java:404)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:29 7)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:27 6)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:26 4)
> at
> org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:563)
>
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:303)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
>
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
>
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>
> at java.lang.Thread.run(Thread.java:595)
>
> Noel
Re: Broken JSP: Wrong JDT version? [message #192931 is a reply to message #192923] Mon, 21 May 2007 16:36 Go to previous message
Noel Bush is currently offline Noel Bush
Messages: 38
Registered: July 2009
Member
Thanks for your reply. I get the same error if I use the Tomcat
installation directly. I'm using the JPackage version of Tomcat 5.5, so
I guess something's wrong with that package. I'll take it up over there.

Thanks!

Larry Isaacs wrote on 05/21/2007 03:57 PM:
> The JDT in question should be the one in the jasper-compiler-jdt.jar in
> the common/lib of your Tomcat 5.5 installation. It's not clear how a
> wrong version would get on the classpath of the server. Does your
> simple hello world page work successfully using the Tomcat installation
> directly?
>
> Cheers,
> Larry
>
> Noel Bush wrote:
>> Using the wtp-all-in-one-sdk-R-1.5.4, I've created a Tomcat 5.5 server
>> and a new Dynamic Web Project, and added a hello world jspx page.
>> Unfortunately, I get the error message below when I try to view that
>> simple page. As far as I can tell from Googling this error, this has
>> something to do with the wrong version of the JDT in the classpath.
>> But I cannot figure out how to verify this, or to change the JDT
>> version used -- and in fact I cannot locate on my system a jdt.core
>> jar of a version other than 3.2.3.v_686_R32x.
>>
>> Can anyone help me understand what's going on? Thanks!
>>
>> java.lang.NoSuchMethodError:
>> org.eclipse.jdt.internal.compiler.CompilationResult.getProbl ems()[Lorg/eclipse/jdt/core/compiler/IProblem;
>>
>> at
>> org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCom piler.java:345)
>>
>> at
>> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler. java:417)
>> at
>> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTComp iler.java:404)
>>
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:29 7)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:27 6)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:26 4)
>> at
>> org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:563)
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:303)
>>
>> at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
>>
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
>>
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
>>
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
>>
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
>>
>> at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
>>
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
>>
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
>>
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>>
>> at java.lang.Thread.run(Thread.java:595)
>> May 21, 2007 2:21:36 PM org.apache.catalina.core.StandardWrapperValve
>> invoke
>> SEVERE: Servlet.service() for servlet jsp threw exception
>> java.lang.NoSuchMethodError:
>> org.eclipse.jdt.internal.compiler.CompilationResult.getProbl ems()[Lorg/eclipse/jdt/core/compiler/IProblem;
>>
>> at
>> org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCom piler.java:345)
>>
>> at
>> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler. java:417)
>> at
>> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTComp iler.java:404)
>>
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:29 7)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:27 6)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:26 4)
>> at
>> org.apache.jasper.JspCompilationContext.compile(JspCompilati onContext.java:563)
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:303)
>>
>> at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:252)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:173)
>>
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
>>
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:178)
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:126)
>>
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:105)
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:107)
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:148)
>>
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:869)
>>
>> at
>> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:664)
>>
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:527)
>>
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80)
>>
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:684)
>>
>> at java.lang.Thread.run(Thread.java:595)
>>
>> Noel
Previous Topic:newbie question: how to find who's using a port?
Next Topic:Dependent Projects
Goto Forum:
  


Current Time: Fri Jul 25 12:14:54 EDT 2014

Powered by FUDForum. Page generated in 0.03512 seconds