`
zpfadmin
  • 浏览: 41461 次
社区版块
存档分类
最新评论

no org.jbpm.pvm.internal.tx.SpringTransaction in current environment

    博客分类:
  • JBPM
阅读更多

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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics