JBoss Community

Re: How to load multiple bpmn files as jbpm:resource in spring config?

created by Anatoliy Kalenskiy in jBPM - View the full discussion

I have tried with such changeset file:

 

<change-set xmlns='http://drools.org/drools-5.0/change-set'

 

            xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'

 

            xs:schemaLocation='http://drools.org/drools-5.0/change-set change-set-1.0.0.xsd'>

 

    <add>

        <resource source="file:D:/jbpm" type="BPMN2"/>

    </add>

</change-set>

 

And such kbase

 

<jbpm:kbase id="kbase">

        <jbpm:resources>

            <jbpm:resource type="CHANGE_SET" source="classpath:beans-bpmn-changeset.xml"/>

         </jbpm:resources>

</jbpm:kbase>

 

But at runtime I got error that change-set-1.0.0.xsd couldn't be found , it it exists in knowledge-api-5.4.0.Final.jar that is in my WEB-INF\lib\ folder.

Reply to this message by going to Community

Start a new discussion in jBPM at Community