Here are the changes We are using.
Remove
antlr-3.0ea8.jar
antlr-2.7.6.jar
commons-jci-eclipse-3.2.0.666.jar
core-3.2.0.666.jar
stringtemplate-2.3b6.jar
Remove
drools-compiler-3.0.4.jar
drools-core-3.0.4.jar
Add
antlr-2.7.7.jar
antlr-3.0b5.jar
core-3.2.1.v_677_R32x.jar
stringtemplate-3.0.jar
xstream-1.1.3.jar
Add
drools-compiler-3.1.0-M1.jar
drools-core-3.1.0-M1.jar
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of S Reed
Sent: Tuesday, March 13, 2007 6:22 PM
To: rules-users(a)lists.jboss.org
Subject: [rules-users] Error compiling rules (3.1M1). NoSuchMethodError:
EclipseJavaCompiler.<init>(Ljava/util/Map; )V
I am upgrading from 3.0 to 3.1M1.
Config: Win2k, Eclipse 3.2, JRE 1.5.0_09 I am getting the following
error:
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.commons.jci.compilers.EclipseJavaCompiler.<init>(Ljava/util/M
ap;)V
at
org.drools.compiler.PackageBuilder.loadCompiler(PackageBuilder.java:615)
at
org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:123)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:94)
at org.fp.findata.Rules.generateRuleBase(Rules.java:126)
at org.fp.findata.Rules.addPackage(Rules.java:168)
at org.fp.scenario.InitDB.initBasicRules(InitDB.java:505)
at org.fp.scenario.InitDB.main(InitDB.java:58)
I suspect I am missing one or more required jar files but can't figure
out which.
The library entries in my build path are:
<classpathentry kind="lib" path="lib/antlr-2.7.6.jar"/>
<classpathentry kind="lib" path="lib/antlr-3.0ea8.jar"/>
<classpathentry kind="lib" path="lib/asm.jar"/>
<classpathentry kind="lib" path="lib/cglib-2.1.3.jar"/>
<classpathentry kind="lib"
path="lib/commons-collections-3.1.jar"/>
<classpathentry kind="lib"
path="lib/commons-jci-core-1.0-406301.jar"/>
<classpathentry kind="lib"
path="lib/commons-jci-eclipse-3.2.0.666.jar"/>
<classpathentry kind="lib"
path="lib/commons-lang-2.1.jar"/>
<classpathentry kind="lib"
path="lib/commons-logging-1.0.4.jar"/>
<classpathentry kind="lib" path="lib/converters.jar"/>
<classpathentry kind="lib"
path="lib/core-3.2.1.v_677_R32x.jar"/>
<classpathentry kind="lib" path="lib/dom4j-1.6.1.jar"/>
<classpathentry kind="lib"
path="lib/drools-compiler-3.1.0-M1.jar"/>
<classpathentry kind="lib"
path="lib/drools-core-3.1.0-M1.jar"/>
<classpathentry kind="lib" path="lib/fop.jar"/>
<classpathentry kind="lib" path="lib/forms-1.0.7.jar"/>
<classpathentry kind="lib" path="lib/hibernate3.jar"/>
<classpathentry kind="lib" path="lib/hsqldb.jar"/>
<classpathentry kind="lib" path="lib/jax-qname.jar"/>
<classpathentry kind="lib" path="lib/jaxb-api.jar"/>
<classpathentry kind="lib" path="lib/jaxb-impl.jar"/>
<classpathentry kind="lib" path="lib/jaxb-libs.jar"/>
<classpathentry kind="lib" path="lib/jfor-0.7.2rc1.jar"/>
<classpathentry kind="lib" path="lib/jta.jar"/>
<classpathentry kind="lib" path="lib/junit-3.8.1.jar"/>
<classpathentry kind="lib" path="lib/log4j-1.2.11.jar"/>
<classpathentry kind="lib" path="lib/logkit-20020529.jar"/>
<classpathentry kind="lib" path="lib/namespace.jar"/>
<classpathentry kind="lib" path="lib/relaxngDatatype.jar"/>
<classpathentry kind="lib"
path="lib/stringtemplate-2.3b6.jar"/>
<classpathentry kind="lib" path="lib/velocity-1.4.jar"/>
<classpathentry kind="lib"
path="lib/velocity-dep-1.4.jar"/>
<classpathentry kind="lib"
path="lib/xercesImpl-2.6.2.jar"/>
<classpathentry kind="lib" path="lib/xpp3-1.1.3.4.O.jar"/>
<classpathentry kind="lib" path="lib/xsdlib.jar"/>
<classpathentry kind="lib" path="lib/xstream-1.1.3.jar"/>
Any help will be greatly appreciated.
Scott
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users