3 Replies Latest reply on Aug 2, 2011 2:28 PM by Mauricio Salatino

    JBPM Noob Question

    Asad Rauf Newbie

      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