JBoss Community

Where is the problem? In the file or in the installation?

created by stellina_rosa in jBPM - View the full discussion

Hello everybody!

I've installed JBPM5 (i followed the instruction on this community) and i tried to execute the "HelloProcess".. but there is an error:

 

java.lang.IllegalArgumentException: Unable to instantiate service for Class 'org.drools.compiler.BPMN2ProcessProvider'

          at org.drools.util.ServiceRegistryImpl.get(ServiceRegistryImpl.java:162)

          at org.drools.compiler.BPMN2ProcessFactory.loadProvider(BPMN2ProcessFactory.java:29)

          at org.drools.compiler.BPMN2ProcessFactory.getBPMN2ProcessProvider(BPMN2ProcessFactory.java:21)

          at org.drools.compiler.BPMN2ProcessFactory.configurePackageBuilder(BPMN2ProcessFactory.java:12)

          at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:469)

          at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)

          at com.sample.ProcessTest.readKnowledgeBase(ProcessTest.java:33)

          at com.sample.ProcessTest.main(ProcessTest.java:20)

Caused by: java.lang.IllegalArgumentException: Unable to instantiate 'org.jbpm.bpmn2.BPMN2ProcessProviderImpl'

          at org.drools.util.ServiceRegistryImpl$ReflectionInstantiator.newInstance(ServiceRegistryImpl.java:211)

          at org.drools.util.ServiceRegistryImpl$ReflectionInstantiator.call(ServiceRegistryImpl.java:203)

          at org.drools.util.ServiceRegistryImpl.get(ServiceRegistryImpl.java:160)

          ... 7 more

Caused by: java.lang.ClassNotFoundException: org.jbpm.bpmn2.BPMN2ProcessProviderImpl

          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.util.ServiceRegistryImpl$ReflectionInstantiator.newInstance(ServiceRegistryImpl.java:208)

          ... 9 more

 

 

 

I dont't understand it.. could anyone help me?

thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community