2009/6/2 Chris Richmond <[email protected]>: > 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 [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
