Hi Steven,

Looks like you are picking up the wrong org.eclipse.jdt.core jar at runtime.

cheers
Steve

On 6/19/07, Steven Waldren <swaldren@gmail.com> wrote:
Hello,

I downloaded the JBoss Rules 4.0 Eclipse IDE.  I built a small project with about 120 rules. My test asserts around 500 objects. When I try to add one more rule (regardless of the content of the rule) I get the error below, stating no such method error.  Even if I add the following rule, I still get the error:

rule "new rule"
when
Object()
then
System.out.print("test" );
end


What other problems can throw these errors?

Thanks,
Steven
--
Steven E. Waldren, M.D., M.S.
OpenHealth Data
Skype: steven.waldren

======= THE ERROR ==========
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:295)
at org.eclipse.jdt.internal.compiler.Compiler.compile( Compiler.java:454)
at org.apache.commons.jci.compilers.EclipseJavaCompiler.compile( EclipseJavaCompiler.java:332)
at org.drools.rule.builder.dialect.java.JavaDialect.compileAll(JavaDialect.java :311)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:237 )
at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java :157)
at com.sample.DroolsTest.readRule(DroolsTest.java:78 )
at com.sample.DroolsTest.main (DroolsTest.java:37 )
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:295 )
at org.eclipse.jdt.internal.compiler.Compiler.compile( Compiler.java:454)
at org.apache.commons.jci.compilers.EclipseJavaCompiler.compile( EclipseJavaCompiler.java:332 )
at org.drools.rule.builder.dialect.java.JavaDialect.compileAll (JavaDialect.java:311 )
at org.drools.compiler.PackageBuilder.addPackage( PackageBuilder.java:237)
at org.drools.compiler.PackageBuilder.addPackageFromDrl( PackageBuilder.java:157)
at com.sample.DroolsTest.readRule( DroolsTest.java:78)
at com.sample.DroolsTest.main( DroolsTest.java:37)




_______________________________________________
rules-users mailing list
rules-users@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@objectconsulting.com.au
www.objectconsulting.com.au

consulting | development | training | support
our experience makes the difference