I noticed this same error when attempting to use the Run Jetty Run eclipse
plugin with Jetty 6.1.26. Changing it to use Jetty 7.5.1 fixed the problem.
We still use version 6 on our test servers without a problem though so I
just put it down to some classpath issue with the plug-in.
-------------------------------------------------------------------
Steven Williams
On Wed, Nov 27, 2013 at 3:01 AM, captainrhino <
graeme.kitchen(a)axa-travel-insurance.com> wrote:
I am running some drools application code through Jetty and I get the
following error. I'm guessing its something to do with a conflicting jar
or
dependency? Any help would be much appreciated. It does not happen when I
run it through tomcat 7.
java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;
at
org.drools.compiler.commons.jci.compilers.EclipseJavaCompiler$3.acceptResult(EclipseJavaCompiler.java:375)
at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:335)
at
org.drools.compiler.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:405)
at
org.drools.compiler.commons.jci.compilers.AbstractJavaCompiler.compile(AbstractJavaCompiler.java:49)
at
org.drools.compiler.rule.builder.dialect.java.JavaDialect.compileAll(JavaDialect.java:405)
at
org.drools.compiler.compiler.DialectCompiletimeRegistry.compileAll(DialectCompiletimeRegistry.java:46)
at
org.drools.compiler.compiler.PackageRegistry.compileAll(PackageRegistry.java:107)
at
org.drools.compiler.compiler.PackageBuilder.compileAll(PackageBuilder.java:1218)
at
org.drools.compiler.compiler.PackageBuilder.compileAllRules(PackageBuilder.java:955)
at
org.drools.compiler.compiler.PackageBuilder.addPackage(PackageBuilder.java:943)
at
org.drools.compiler.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:507)
at
org.drools.compiler.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:714)
at
org.drools.compiler.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51)
at
org.drools.compiler.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:40)
--
View this message in context:
http://drools.46999.n3.nabble.com/Jetty-NoSuchMethodError-Lorg-eclipse-jd...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users