The stack dump you've posted does not match the jars you have "included"; check line 108 in KnowledgeBuilderFactory.java. Looks like a version mixup in your classpath.
-W PS: Next time, requesting a solution "ASAP" might induce me to sent an invoice. PPS: Note that you are emailing to a list, so don't add statements that it may contain "proprietary, confidential or privileged information". On 16/09/2013, [email protected] <[email protected]> wrote: > > Hi, > > I have included following jars: > > drools-api-5.0.1.BRMS > drools-compiler-5.1.1 > drools-api-5.1.1 > drools-core-5.1.1 > > I am getting below error: > > Exception in thread "main" org.drools.ProviderInitializationException: > Provider org.drools.builder.impl.KnowledgeBuilderProviderImpl could not be > set. > at > org.drools.builder.KnowledgeBuilderFactory.loadProvider(KnowledgeBuilderFactory.java:111) > at > org.drools.builder.KnowledgeBuilderFactory.getKnowledgeBuilderProvider(KnowledgeBuilderFactory.java:101) > at > org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:29) > at com.comp.drools.SimpleRule.createKnowledgeBase(SimpleRule.java:84) > at com.comp.drools.SimpleRule.main(SimpleRule.java:32) > Caused by: java.lang.ClassNotFoundException: > org.drools.builder.impl.KnowledgeBuilderProviderImpl > at java.net.URLClassLoader$1.run(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Unknown Source) > at > org.drools.builder.KnowledgeBuilderFactory.loadProvider(KnowledgeBuilderFactory.java:108) > ... 4 more > > I have configured eclipse JBPM plugin > using java 7 and apache tomcat 7 > > Please help me finding solution ASAP. > > Thanks, > Poonam. > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient should > check this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus transmitted > by this email. > > www.wipro.com > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
