Hi,
I tried to integrate the spin plugin in my embedded process engine (7.4.0) with following maven dependencies.
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-engine-plugin-spin</artifactId>
</dependency>
<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-dataformat-json-jackson</artifactId>
</dependency>
<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-core</artifactId>
</dependency>
Unfortunately I get following error:
java.lang.NoClassDefFoundError: com/jayway/jsonpath/spi/JsonProvider
I analysed that camunda class JsonPathJacksonProvider implements com.jayway.jsonpath.spi.JsonProvider. The json-path version shipped with camunda-spin-dataformat-json-jackson is 0.9.1 . All newe versions have a runtime class com.jayway.jsonpath.spi.json.JsonProvider, so this could not work.
The latest json-path version which has no “json” in package name is 0.9.1. So in my opinion actually it is not able to use camunda-spin-dataformat-json-jackson maven artifact with newer json path version.
Will there be an update of this dependendy in future?
Best regards,
Markus