Sunday, July 20, 2008

JBoss Drools CLASSPATH Error; The Eclipse JDT Core jar is not in the classpath

JBoss Rules v4.0.7 is compatible with Eclipse v3.3 or higher. However there is a simple workaround. Run the following commands:

export ECLIPSE_PLUGINS=/home/medined/Desktop/eclipse-3.4/plugins
ln -s 
  $ECLIPSE_PLUGINS/org.eclipse.jdt.core_3.4.0.v_874.jar 
  $ECLIPSE_PLUGINS/org.drools.eclipse_4.0.7/lib

1 comments:

joyce said...

Hi,

Im working on drools, it works good in Eclipse. Now i have converted it into a jar file and im trying to run it from a command prompt,

It throws an Exception saying, NoSuchMethodErrors: org.drools.rule.Rule.setPackage
org.drools.rule.Builder.RuleBuildContext
org.drools.compiler.PackageBuilder.addRule
org.drools.compiler.PackageBuilder.addPackage
org.drools.compiler.PackageBuilder.
addPackageFromDrl

looking forward ur kind help
joyce