Hi Shilpa,
It looks like you do not have org.eclipse.jdt.core_3.2.0.v_671.jar in your
classpath. You should find it in the eclipse/plugins directory - just add it
to your application's classpath.
cheers
Steve
On 1/29/07, shilpa.raghavendra(a)wipro.com <shilpa.raghavendra(a)wipro.com>
wrote:
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/eclipse/jdt/core/compiler/CategorizedProblem;
at
org.apache.commons.jci.compilers.EclipseJavaCompiler$2.acceptResult(*
EclipseJavaCompiler.java:237*)
at org.eclipse.jdt.internal.compiler.Compiler.compile(*Compiler.java
:454*)
at org.apache.commons.jci.compilers.EclipseJavaCompiler.compile(*
EclipseJavaCompiler.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/eclipse/jdt/core/compiler/CategorizedProblem;
at
org.apache.commons.jci.compilers.EclipseJavaCompiler$2.acceptResult(*
EclipseJavaCompiler.java:237*)
at org.eclipse.jdt.internal.compiler.Compiler.compile(*Compiler.java
:454*)
at org.apache.commons.jci.compilers.EclipseJavaCompiler.compile(*
EclipseJavaCompiler.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
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Steven Williams
Supervising Consultant
Object Consulting
Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501
stevenw(a)objectconsulting.com.au
www.objectconsulting.com.au
consulting | development | training | support
our experience makes the difference