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个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问