6 Replies Latest reply on Feb 23, 2012 11:32 PM by hadik

    jBPM5 Spring Integration: 'jbpm:kbase' can not be found




      I am trying to integrate JBPM5 with Spring. For the beggining I pu in conf-spring.xml file:  (Line 12)

        <jbpm:kbase id="kbase">


            <jbpm:resource type="BPMN2" source="classpath:Hi.bpmn" />





        <jbpm:ksession id="ksession" type="stateful" kbase="kbase">



              <jbpm:entity-manager-factory ref="entityManagerFactory"/>

              <jbpm:transaction-manager ref="transactionManager"/>





      But when I created the context :


      ApplicationContext context = new ClassPathXmlApplicationContext("conf-spring.xml") I got an error:


      Line 12 in XML document from class path resource [spring-conf.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jbpm:kbase'.


      Does anybody know what could be the problem?