the key to the problem is this line in the error listing: "Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in the classpath"
This reference is to the library "core-3.4.2.v_883_R34x.jar" which is installed by the Eclipse Drools plugin
If you add core-3.4.2.v_883_R34x.jar to your libraries then you won't get the runtime exception.
HyI get the following error:...Caused by: org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration:mvel:org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration'
at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:313)
...
... 42 more
Caused by: java.lang.ClassCastException: org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration cannot be cast to org.drools.compiler.DialectConfiguration
at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:308)
... 51 moreI'm using drools in a maven project, pom.xml:...<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-compiler</artifactId>
<version>5.5.0.Final</version>
</dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-core</artifactId>
<version>5.5.0.Final</version>
</dependency>...What could cause this error?Thanks for your help.Kind regards,Peter
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users