-----Original Message-----
From:
rules-users-bounces@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@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 it’s 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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users