We try to experiment with an example for process idempotent check from: https://forum.camunda.org/t/idempotent-start-process-patterns/3315.
But we always fail with
org.camunda.bpm.engine.ScriptCompilationException: Unable to compile script: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script42.groovy: 1: unable to resolve class org.camunda.bpm.engine.delegate.BpmnError
@ line 1, column 1.
We have tried several different approaches but none of them succeeded:
- We have commented in the pom file
<scope>provided</scope>for org.camunda.bpm. This makes all jars to be included into our war file.
- We have added in the pom file
<manifestEntries> <Dependencies>org.camunda.bpm.camunda-engine</Dependencies> </manifestEntries>to create a dependency in manifest file.
What could be the reason we are failing?