[rules-users] java.lang.NoSuchMethodError:org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[

Marcus Ilgner marcus.ilgner at gmail.com
Thu Feb 15 08:59:28 EST 2007


Hi,

On 2/15/07, Nagabhushanam B <bheemisetty.bhushan at gmail.com> wrote:
>
> Hi ,
>
> I have installed Eclipse 3.2 and tomcat 5.5, when I am trying to jboss rule
> I am getting the following exception
>
> Even though I added org.eclipse.jdt.core_3.2.0.v_671.jar in
> to my class path
>
> Guys help me out from this& urgent
>
>
>
> java.lang.NoSuchMethodError:org.eclipse.jdt.internal.compiler.CompilationResult.getProblems
> ()[Lorg/eclipse/jdt/core/compiler/IProblem;
>
>       at
> org.apache.jasper.compiler.JDTCompiler$2.acceptResult(
> JDTCompiler.java:341)
>
>       at
> org.eclipse.jdt.internal.compiler.Compiler.compile(
> Compiler.java:417)
>
>       at
> org.apache.jasper.compiler.JDTCompiler.generateClass(
> JDTCompiler.java:399)
>
>       at org.apache.jasper.compiler.Compiler.compile(
> Compiler.java:288)
>
>       at org.apache.jasper.compiler.Compiler.compile(
> Compiler.java:267)
>
>       at org.apache.jasper.compiler.Compiler.compile(
> Compiler.java:255)
>
>       at org.apache.jasper.JspCompilationContext.compile(
> JspCompilationContext.java:556 )
>
>       at
> org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:293 )
>
>       at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:314)
>
>       at org.apache.jasper.servlet.JspServlet.service(
> JspServlet.java:264)
>
>       at javax.servlet.http.HttpServlet.service(
> HttpServlet.java:802)
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252 )
>
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173 )
>
>       at
> org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213 )
>
>       at
> org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178 )
>
>       at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126 )
>
>       at
> org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105 )
>
>       at
> org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107 )
>
>       at
> org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:148)
>
>       at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:868 )
>
>       at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> (Http11Protocol.java:744 )
>
>       at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:527 )
>
>       at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> LeaderFollowerWorkerThread.java:80 )
>
>       at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684 )
>
>       at java.lang.Thread.run( Thread.java:534)
>
Looking at that stacktrace (which isn't much information), I'd guess
that this isn't a rules-related problem (there's no Drools-related
class mentioned) but rather a conflict between the Eclipse compiler
and some other library you're using.
This component probably sees that
org.eclipse.jdt.internal.compiler.Compiler exists, tries to use it and
coughs up because it expects another version.
Still guessing, since I'm not much versed with Tomcat, I'd say that
it's compiler component is trying the Eclipse compiler and needs to be
told to specifically use whatever compiler it was using before.

Best regards
Marcus



More information about the rules-users mailing list