I have a project that uses Spring 3.0.7 and i'm trying to implelment JBPM 5.2 in it (currently using JBPM 4).
I added code to my mvc-config.xml as specified in the official user guide of JBPM 5.2 but when i run the project it throws this error:
org.xml.sax.SAXParseException : Attribute "schemaLocation" bound to namespace "http://www.w3.org/2001/XMLSchema-instance" was already specified for element "definitions".
I see it has something to do with xml's namespaces but i have no idea why it is hapenning and how to fix it.
this is the beginning of my mvc-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<jbpm:resource type="BPMN2" source="classpath:process-definitions/Sample.bpmn" />
<jbpm:ksession id="ksession" type="stateful" kbase="kbase" />
any help would be greatly appreciated...