Hello Drools team,
when I am trying to run the drools project in eclipse I am getting the error below. I am using Drools 5.0.1 and eclipse 3.4.2. I am trying to run the example in the given link.
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch02.html
I have everything installed correctly but still getiing the errors. I have added the libraries in the lib directory of drools 5.0-bin. and the jar files in this directory. and the drools drools-api-5.0.1.jar but still gettinng the error below.
java.lang.NoSuchMethodError: org.drools.compiler.PackageBuilder.addKnowledgeResource(Lorg/drools/io/Resource;Lorg/drools/builder/ResourceType;Lorg/drools/builder/ResourceConfiguration;)V
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:25)
at com.sample.RuleFlowTest.readKnowledgeBase(RuleFlowTest.java:38)
at com.sample.RuleFlowTest.main(RuleFlowTest.java:24)
Can you please help me out.
Regards,
Sandy