JBoss Community

Re: jBPM5 Spring Integration: 'jbpm:kbase' can not be found

created by liliana.iovanovici in jBPM - View the full discussion

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"

       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

       xmlns:jbpm="http://drools.org/schema/drools-spring"

       xmlns:context="http://www.springframework.org/schema/context"   

       xsi:schemaLocation="http://www.springframework.org/schema/beans

       http://www.springframework.org/schema/beans/spring-beans-3.0.xsd

       http://drools.org/schema/drools-spring

       http://drools.org/schema/drools-spring.xsd

       ">

      

   <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>

 

            <bean id="jbpmEngine" class="spring.integration.jbpm.JBPMEngine">

 

          </bean>

 

 

 

</beans>

Reply to this message by going to Community

Start a new discussion in jBPM at Community