[rules-users] java.lang.NoSuchMethodError

shilpa.raghavendra at wipro.com shilpa.raghavendra at wipro.com
Sun Jan 28 22:26:28 EST 2007


 

I am new to Drools. I wanted to put the rules in the project so I am
learning this. 

 

So I have taken code sample from Maven Repository bur I am getting
following error.

 

To run the Example I Have used eclipse as IDE and the drl file in XML
format.

 

 

java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/e
clipse/jdt/core/compiler/CategorizedProblem;

      at
org.apache.commons.jci.compilers.EclipseJavaCompiler$2.acceptResult(Ecli
pseJavaCompiler.java:237)

      at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:454)

      at
org.apache.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJava
Compiler.java:268)

      at org.drools.compiler.PackageBuilder.compileAll(Unknown Source)

      at org.drools.compiler.PackageBuilder.addPackage(Unknown Source)

      at org.drools.compiler.PackageBuilder.addPackageFromDrl(Unknown
Source)

      at
org.drools.examples.HonestPoliticianExample.main(HonestPoliticianExample
.java:20)

java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/e
clipse/jdt/core/compiler/CategorizedProblem;

      at
org.apache.commons.jci.compilers.EclipseJavaCompiler$2.acceptResult(Ecli
pseJavaCompiler.java:237)

      at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:454)

      at
org.apache.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJava
Compiler.java:268)

      at org.drools.compiler.PackageBuilder.compileAll(Unknown Source)

      at org.drools.compiler.PackageBuilder.addPackage(Unknown Source)

      at org.drools.compiler.PackageBuilder.addPackageFromDrl(Unknown
Source)

      at
org.drools.examples.HonestPoliticianExample.main(HonestPoliticianExample
.java:20)

Exception in thread "main"

 

Please help me fix this. 

 

Thanks in advance

 

Thanks & Regards

Shilpa 




The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070129/f84ce29a/attachment.html 


More information about the rules-users mailing list