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.
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)
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.
______________________________________________________________________