[rules-users] The Eclipse JDT Core jar is not in the classpath error

Chris Richmond crichmond at referentia.com
Mon Jun 1 18:51:01 EDT 2009


Hello,

 

I am using netbeans and ivy with Drools 5.  I have successfully named,
published the jars from drools to and could build my port of the stock
ticker application in netbeans, but when I try to run it, I get the
following error:

 

 

java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream

 

I have the antlr-runtime jar from the bin/lib on my classpath where I added
all the others, but it always fails at this line 

In loadRuleBase() in Broker.java of the stock ticker sample

 

builder.add( ResourceFactory.newInputStreamResource(
Broker.class.getResourceAsStream( RULES_FILE ) ),

ResourceType.DRL);.

 

 

Does anyone have any ideas what jar I might be missing if it's not the
antlr-runtime?

 

Thanks,


Chris

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090601/e70fb1d8/attachment.html 


More information about the rules-users mailing list