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)