[rules-users] Re: [drools-user] The Eclipse JDT Core jar is not inthe classpath error
Kris Verlaenen
kris.verlaenen at cs.kuleuven.be
Tue Dec 2 11:37:10 EST 2008
Eclipse 3.4.x is not supported for Drools 4.0.x. So you should either
- use Eclipse 3.3.x or 3.2.x with the corresponding Drools 4.0.7 plugin
- use the Drools 5.x plugin with Eclipse 3.4.x
Even though large parts of the Drools 4.0.7 plugin might still work under
Eclipse 3.4.x, some things like the auto-detection of the jdt core jar or
debugging won't. A workaround for the jdt jar is of course manually adding
it yourself.
Note that you can now use the Drools 5.x release with the Drools 4.0.7 jars,
as the Drools classpath container in Drools 5.x now allows you define your
own runtimes, so you can create a Drools 4.0.7 runtime as well.
Kris
----- Original Message -----
From: "Xiandong Su" <xiandongsu at yahoo.com>
To: <rules-users at lists.jboss.org>
Sent: Tuesday, December 02, 2008 5:28 AM
Subject: [rules-users] Re: [drools-user] The Eclipse JDT Core jar is not
inthe classpath error
> As a workaround, I have to manually add the drools jar files to the
> classpath instead of using the classpath generated by the wizard for the
> drools project. Does this mean that the classpath generated by the new
> project template is not sufficient?
>
> thanks
>
> Xiandong
>
>
>
> ----- Original Message ----
> From: Xiandong Su <xiandongsu at yahoo.com>
> To: Drools Users <user at drools.codehaus.org>
> Sent: Monday, December 1, 2008 11:18:18 PM
> Subject: [drools-user] The Eclipse JDT Core jar is not in the classpath
> error
>
> I am using drools 4.0.7 plug in with eclipse 3.4.1. I created a drools
> project with the example generated by the wizard. However I am getting
> this exception when trying to run the example. I see there are discussion
> around this topic but I still do not have clear understand what the final
> solution should be. Does anyone have final solution?
>
> thanks
>
> Xiandong
>
> org.drools.RuntimeDroolsException: Unable to load dialect
> 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'
> at
> org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:160)
> at
> org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:146)
> at
> org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:121)
> at
> org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:98)
> at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:124)
> at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:86)
> at com.sample.DroolsTest.readRule(DroolsTest.java:50)
> at com.sample.DroolsTest.main(DroolsTest.java:21)
> Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in
> the classpath
> at
> org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(JavaDialectConfiguration.java:91)
> at
> org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:52)
> at
> org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:156)
> ... 7 more
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
More information about the rules-users
mailing list