[jboss-user] [jBPM] - problem in JBPM 5.2 integration with Spring
dotan guy
do-not-reply at jboss.com
Wed Jan 18 07:02:30 EST 2012
dotan guy [https://community.jboss.org/people/dotanguy] created the discussion
"problem in JBPM 5.2 integration with Spring"
To view the discussion, visit: https://community.jboss.org/message/647340#647340
--------------------------------------------------------------
Hi
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 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"?>
<beans xmlns=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans"
xmlns:tx=" http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx" xmlns:p=" http://www.springframework.org/schema/p http://www.springframework.org/schema/p"
xmlns:util=" http://www.springframework.org/schema/util http://www.springframework.org/schema/util" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc=" http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc" xmlns:aop=" http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop"
xmlns:jbpm=" http://drools.org/schema/drools-spring http://drools.org/schema/drools-spring" xmlns:context=" http://www.springframework.org/schema/context http://www.springframework.org/schema/context"
xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd http://www.springframework.org/schema/util/spring-util-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd http://www.springframework.org/schema/util/spring-util-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://drools.org/schema/drools-spring http://drools.org/schema/drools-spring http://goodtraffic.info/drools/drools-spring-1.2.0.xsd http://goodtraffic.info/drools/drools-spring-1.2.0.xsd">
<jbpm:kbase id="kbase">
<jbpm:resources>
<jbpm:resource type="BPMN2" source="classpath:process-definitions/Sample.bpmn" />
</jbpm:resources>
</jbpm:kbase>
<jbpm:ksession id="ksession" type="stateful" kbase="kbase" />
any help would be greatly appreciated...
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/647340#647340]
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/20120118/83f532c8/attachment-0001.html
More information about the jboss-user
mailing list