1. Log out of your jbpm.cfg.xml file, import the required configuration files
<!-- write off this <import resource= "Jbpm.tx.hibernate.cfg.xml"/>-- <!--Add this profile-- <import resource= "Jbpm.tx.spring.cfg.xml"/>
2. Import the configuration file in the Hibernate.cfg.xml file
<!--This is Jbmp profile and cannot be deleted! --<mapping resource= "Jbpm.repository.hbm.xml"/> <mapping resource= "Jbpm.execution.hbm.xml"/> <mapping resource= "Jbpm.history.hbm.xml"/> <mapping resource= "Jbpm.task.hbm.xml"/> < Mapping resource= "Jbpm.identity.hbm.xml"/>
3. Import the appropriate JAR package
3 x Jbmp.jar
Jta.jar
Mail.jar
4. Delete the EL expression-related configuration file in the Lib folder in Tomcat El-api.jar import your own el expression corresponding jar package 3
Juel-api.jar
Juel-engine.jar
Juel-imol.jar
5. Test the build environment for success
@Testpublic void Testjbmp () {processengine processengine= (processengine) Ac.getbean ("Processengine"); System.out.println (processengine);}
JBPM Workflow framework and Spring integration steps