Houssem Salah [
https://community.jboss.org/people/soyeur] created the discussion
"Tomcat6 + Spring + JBPM5.3 integration"
To view the discussion, visit:
https://community.jboss.org/message/753537#753537
--------------------------------------------------------------
Hello
I have a web application configured to work in tomcat using spring . I'm trying to add
JBPM workflow engine to my application.
I have configured persistence to work with MySql and JPA 2.0 in persistence.xml. and I
have added a spring bean contaning transaction manager and EntityManagerFactory.
My probleme is I got the error saying *could not parse knowledge* when running the
following:
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("process/Evaluation.bpmn"),
ResourceType.BPMN2);
KnowledgeBuilderErrors errors = kbuilder.getErrors();
KnowledgeBase kbase = kbuilder.newKnowledgeBase();
The line in green check if there is any errors. it contain [ProcessLoadError: unable to
parse xml : Exception class java.lang.NullPointerException : null]
Any help will be great
Thinx
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/753537#753537]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]