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

Vadivelkumar vpalanisamy at apple.com
Thu Sep 24 04:20:43 EDT 2009


Hi,
	I am new to drools. I have created the new drools project in eclipse  
IDE 3.5. I have compiled it and tested it. it works fine.
	but when deploying, I have converted as a jar file and deployed it as  
part of tomcat server. When my tomcat is running i'm receiving the  
following
	error message.
	Please Note:
		1. I'm using JBoss Drools Core 5.0.1
		2. My Eclipse Version is 3.5.0 and it has  
org.eclipse.jdt.core_3.5.0.v_963.jar. I have placed this jar file on  
my class path. but still i'm facing the below problem
		3. I would like to try the solution suggested on ((http://lists.jboss.org/pipermail/rules-users/2007-January/000195.html) 
). Unfortunately i could not find the any downnload location for
		   org.eclipse.jdt.core_3.2.0.v_671.jar
		4.We have tried with the the solution suggested on (http://www.jboss.org/community/wiki/RulesTomcat 
) for Drools 4.x Still we are not able to resolve the issue.

	java.lang.NoSuchMethodError:  
org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/ 
eclipse/jdt/core/compiler/CategorizedProblem;
	org.drools.commons.jci.compilers.EclipseJavaCompiler 
$3.acceptResult(EclipseJavaCompiler.java:321)
	 
org 
.eclipse 
.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java: 
415)
	org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:352)
	 
org 
.drools 
.commons 
.jci.compilers.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:351)
	 
org 
.drools 
.commons 
.jci.compilers.AbstractJavaCompiler.compile(AbstractJavaCompiler.java: 
51)
	 
org 
.drools 
.rule.builder.dialect.java.JavaDialect.compileAll(JavaDialect.java:389)
	 
org 
.drools 
.compiler 
.DialectCompiletimeRegistry.compileAll(DialectCompiletimeRegistry.java: 
56)
	org.drools.compiler.PackageRegistry.compileAll(PackageRegistry.java:74)
	org.drools.compiler.PackageBuilder.compileAll(PackageBuilder.java:690)
	org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:653)
	 
org 
.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java: 
290)
	 
org 
.drools 
.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:488)
	 
org 
.drools 
.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:25)

	Could you please help us to fix it?

	Thanks in advance.


Thanks,
Vadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090924/e73e0853/attachment.html 


More information about the rules-users mailing list