[rules-users] classpath issue

Krishnan krishiyer at gmail.com
Thu Sep 27 16:46:15 EDT 2007


I am including the following libraries :-

D:\programs\java\jdk1.5.0\bin\javaw -classpath
"O:\fieldstation\jars\antlr\antlr-runtime-3.0.jar
;O:\fieldstation\jars\Drools\drools-compiler-4.0.0.jar
;O:\fieldstation\jars\Drools\drools-core-4.0.0.jar
;O:\fieldstation\jars\Drools\drools-decisiontables-4.0.0.jar
;O:\fieldstation\jars\Drools\drools-jsr94-4.0.0.jar
;O:\fieldstation\jars\mvel\mvel14-1.2rc1.jar
;O:\fieldstation\jars\janino\janino-2.5.7.jar"  -Ddrools.compiler=JANINO
com.makesys.fs.app.adapter.AdapterServerWrapperImpl

I have included all the drools libraries, antlr library, janino library and
mvel library. I have also included the option to specify the JANINO
compiler. I have not done any code change to imply
janino compiler (Is this needed ?)

Below is the stack trace I get

EXCEPTION [org.drools.RuntimeDroolsException: Unable to load dialect '
org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java']
STACK [org.drools.RuntimeDroolsException: Unable to load dialect '
org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'
    at org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(
PackageBuilderConfiguration.java:138)
    at org.drools.compiler.PackageBuilderConfiguration.init(
PackageBuilderConfiguration.java:114)
    at org.drools.compiler.PackageBuilderConfiguration.<init>(
PackageBuilderConfiguration.java:87)
    at com.makesys.fs.is.cfi.CfiRulesLoader.getPackageBuilder(
CfiRulesLoader.java:45)
    at com.makesys.fs.is.cfi.CfiRulesLoader.loadRuleFiles(
CfiRulesLoader.java:54)
    at com.makesys.fs.is.cfi.CfiRulesLoader.createRules(CfiRulesLoader.java
:37)
    at com.makesys.fs.is.cfi.CfiAdapter.collectHelper(CfiAdapter.java:469)
    at
com.makesys.fs.is.cfi.Cisco.showCmds.ipRoute.CfiAdapterShowIpRoute.collect(
CfiAdapterShowIpRoute.java:38)
    at com.makesys.fs.app.adapter.BaseAdapterWithArchiveInfo.activate(
BaseAdapterWithArchiveInfo.java:106)
    at com.makesys.fs.app.adapter.UnicastAdapterImpl.activate(
UnicastAdapterImpl.java:111)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java
:466)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(
TCPTransport.java:707)
    at java.lang.Thread.run(Thread.java:595)
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:98)
    at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(
JavaDialectConfiguration.java:56)
    at org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(
PackageBuilderConfiguration.java:134)
    ... 20 more
]


Any help will be appreciated.

TIA,
Krishnan.

-- 
Sivaramakrishna Iyer Krishnan (Anand)

Never assume the obvious is true.
- William Safire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070927/25a0d59e/attachment.html 


More information about the rules-users mailing list