Marcus,
I only have the one version of antlr jar that comes in the /lib folder of
the drools 5.0 binary distribution, however that was enough to allow me to
run the stockticker fusion sample in eclipse no problem. I ported the
project to Netbeans and am relying on all of the same jars from that binary
distribution, but getting this error now. Perhaps there is something that
is being provided by the eclipse drools plugin?
Thanks,
Chris
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Marcus Ilgner
Sent: Monday, June 01, 2009 11:14 PM
To: Rules Users List
Subject: Re: [rules-users] The Eclipse JDT Core jar is not in the classpath
error
2009/6/2 Chris Richmond <crichmond(a)referentia.com>:
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 its not the
antlr-runtime?
Thanks,
Chris
Hi,
in one of my projects, I actually needed two different versions of
antlr in the classpath. Did you check if the class referenced in the
exception actually exists in the deployed antlr jar file?
Best regards
Marcus
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users