[jboss-user] [jBPM] - jBPM5 Spring Integration: 'jbpm:kbase' can not be found
liliana.iovanovici
do-not-reply at jboss.com
Mon Feb 20 05:13:11 EST 2012
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120220/bb50c562/attachment.html
More information about the jboss-user
mailing list