JBPM4集成SSH时,错误提示为:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [protected org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine()] threw exception; nested exception is org.jbpm.api.JbpmException: no org.jbpm.pvm.internal.tx.SpringTransaction in current environment
解决办法:
在jbpm.cfg.xml的<transaction-context>里加上一行
<transaction type="spring" />
本文介绍了解决JBPM4在集成SSH时出现的错误提示的方法。该错误与Spring事务管理配置有关,在jbpm.cfg.xml文件的<transaction-context>中添加<transaction type=spring/>可以解决此问题。
3022

被折叠的 条评论
为什么被折叠?



