2 xf121826935 xf121826935 于 2016.03.02 16:04 提问

jbpm4.4的foreach疑惑

xml代码
< process name = "foreach" xmlns = "http://jbpm.org/4.4/jpdl" >
< start g = "28,61,48,48" name = "start1" >
< transition to = "foreach1" />
< foreach var = "department" in = "#{departments}" g = "111,60,48,48" name = "foreach1" >
< transition to = "collect reports" />
< task candidate-groups = "#{department}" g = "201,58,92,52" name = "collect reports" >
< transition to = "join1" />
< join g = "343,59,48,48" multiplicity = "#{quorum}" name = "join1" >
< transition to = "end1" />
< end g = "433,60,48,48" name = "end1" />
如果我不去掉"#{quorum}" 我发布流程的时候会提示失败,代码无法识别quorum这个参数。我去掉之后发布成功,但是start时候会报错。 org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.jbpm.pvm.internal.model.ScopeInstanceImpl.getElContext()Ljava/lang/Object; at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563) 求大神拯救一下

1个回答

devmiao
devmiao   Ds   Rxr 2016.03.08 12:57
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!