[rules-users] NoSuchMethodError

Hehl, Thomas Thomas.Hehl at acs-inc.com
Mon Oct 22 10:03:34 EDT 2007


I am running 4.01 and I started get this exception on a new piece of code:

 

java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.CompilationResult

.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;

        at
org.drools.commons.jci.compilers.EclipseJavaCompiler$3.acceptResult(E

clipseJavaCompiler.java:335)

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

 

        at
org.drools.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJ

avaCompiler.java:372)

        at
org.drools.commons.jci.compilers.AbstractJavaCompiler.compile(Abstrac

tJavaCompiler.java:51)

        at
org.drools.rule.builder.dialect.java.JavaDialect.compileAll(JavaDiale

ct.java:332)

        at
org.drools.compiler.DialectRegistry.compileAll(DialectRegistry.java:6

0)

        at
org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:287

)

        at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.j

ava:160)

        at
com.acs.gs.juror.workflow.RulesBasedWorkflowManager.init(RulesBasedWo

rkflowManager.java:114)

 

It is blowing up on this line of code:

 

builder.addPackageFromDrl( new StringReader(drl) );

 

Which is the drl created from the spreadsheet compiler on the decision
table.

 

This rules class has been tested thoroughly under junit. It wasn't until I
deployed the library into my webapp that this issue turned up.

 

Does anyone have any idea what I should be doing next?

 

Thanks.

Thom Hehl
Sr. eJuror Architect

* Office (859) 277-8800 x 144

* Thomas.Hehl at acs-inc.com <mailto:Thomas.Hehl at acs-inc.com>  
ACS, Inc.

Government Solutions

1733 Harrodsburg Road
Lexington, KY 40504-3617

This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact the sender
by reply e-mail and destroy all copies of the original message and notify
sender via e-mail at Thomas.Hehl at acs-inc.com
<mailto:Thomas.Hehl at acs-inc.com>  or by telephone at 859-277-8800 ext. 144.
Thank you.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071022/58055a93/attachment.html 


More information about the rules-users mailing list