JBoss Community

JBPM Noob Question

created by Imran Naqvi in jBPM - View the full discussion

I installed jbpm and and am trying to incorporate it into my project by including all the libraies. I am using jbpm 5.1 and drools 5.2. I am getting an exception when initializing the code base:

 

KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();

kbuilder.add(ResourceFactory.newClassPathResource("Evaluation.bpmn"), ResourceType.BPMN2);

 

 

the seond line throws:

 

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

 

 

 

I looked in the forum but couldn't find any one else with this issue, which probably means I am doing something weird. I would appreciate if someone could help me out here.

Thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community