从activiti 5迁移到6后,初始化应用程序时出现以下错误:
Caused by: org.activiti5.engine.ActivitiException: Unknown method used in expression: #{elCorService.makePlat(corWorkflowService.buildContext(execution))}
at org.activiti5.engine.impl.el.JuelExpression.getValue(JuelExpression.java:56)
at org.activiti5.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior.execute(ServiceTaskExpressionActivityBehavior.java:71)
... 199 more
... Caused by: javax.el.MethodNotFoundException: Method not found: class com.sun.proxy.$Proxy360.buildContext(org.activiti.engine.impl.persistence.entity.ExecutionEntityImpl)
1条答案
按热度按时间dnph8jn41#
有没有可能您的自定义代码引用的是“org.activiti.engine.impl.persistence.entity.executionentity”而不是“org.activiti.engine.impl.persistence.entity.executionentityimpl”?特别是“corworkflowservice.buildcontext()”。
这是5和6之间的记录变化:https://www.activiti.org/migration