[rules-users] Exception in thread "main" org.drools.ProviderInitializationException

Mark Proctor mproctor at codehaus.org
Mon Sep 16 05:14:36 EDT 2013


you are mixing jar versions. Specifically project 5.1.1 and product 5.0.1.

If you are customer with a Red Hat BRMS subscription, can you please ask this question on the customer support portal. Where it will be handled under SLA for guaranteed response times.

Either way, you can't mix and match jar versions.

Mark
On 16 Sep 2013, at 09:24, poonam.ligade at wipro.com 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
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130916/fa4c1a67/attachment.html 


More information about the rules-users mailing list