You have not setup your classpath correctly, this question has been
asked and answered dozens of times. Try using a mailing list archive
search tool, such as gmane or nabble, to find previous answers.
Mark
Pardeep.Ruhil(a)lntinfotech.com wrote:
Hi,
I am newbie to drools. I am facing the below exception when I m trying
to run my code through
Command Prompt.
I have set the all the jars in the xbootclasspath of my application ,
but still I am getting the same exception.
I am able to run my application in eclipse , but the same when i run
from Command Prompt give me this exception.
Please help to get through the situation.
My exception is :
org.drools.RuntimeDroolsException: Unable to load dialect
'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java
:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'
at
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:274)
at
org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:259)
at
org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:176)
at
org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:153)
at
org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:242)
.
.
.
Caused by: java.lang.NullPointerException
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(JavaDialectConfiguration.java:92)
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:55)
at
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:270)
Thanks & Regards
Pardeep Ruhil
L&T Infotech Ltd
Mumbai
Ph: +919820283884
*
Larsen & Toubro Infotech Ltd.*_
__www.Lntinfotech.com_ <
http://www.lntinfotech.com/>
This Document is classified as:
L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech
Internal Use Only L&T Infotech General Business
This Email may contain confidential or privileged information for the
intended recipient (s) If you are not the intended recipient, please
do not use or disseminate the information, notify the sender and
delete it from your system.
______________________________________________________________________
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users