liliana.iovanovici [
https://community.jboss.org/people/liliana.iovanovici] created the
discussion
"jBPM5 Spring Integration: 'jbpm:kbase' can not be found"
To view the discussion, visit:
https://community.jboss.org/message/717912#717912
--------------------------------------------------------------
Hello,
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:resources>
<jbpm:resource type="BPMN2" source="classpath:Hi.bpmn" />
</jbpm:resources>
</jbpm:kbase>
<jbpm:ksession id="ksession" type="stateful"
kbase="kbase">
<jbpm:configuration>
<jbpm:jpa-persistence>
<jbpm:entity-manager-factory ref="entityManagerFactory"/>
<jbpm:transaction-manager ref="transactionManager"/>
</jbpm:jpa-persistence>
</jbpm:configuration>
</jbpm:ksession>
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?
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/717912#717912]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]