[rules-users] ClassCastException: MVELDialectConfiguration cannot be cast to DialectConfiguration
Bharadwaj N
bharadwaj2012 at gmail.com
Tue Mar 26 03:37:18 EDT 2013
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.
On Tue, Mar 26, 2013 at 12:59 PM, Peach Wyss <peach_wyss at yahoo.com> wrote:
> Hy
>
> I 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 more
>
> I'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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130326/e79e9ac9/attachment-0001.html
More information about the rules-users
mailing list