-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Steps to reproduce:
- Create Spring Boot Application
- Add camunda-spin-dataformat-all dependency
- Add camunda-engine-plugin-spin dependency
- Start Spring Boot applications
Application fails startup with:
*************************** APPLICATION FAILED TO START *************************** Description: An attempt was made to call a method that does not exist. The attempt was made from the following location: org.camunda.bpm.spring.boot.starter.spin.CamundaJacksonFormatConfiguratorJSR310.configure(CamundaJacksonFormatConfiguratorJSR310.java:34) The following method did not exist: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat.getObjectMapper()Lcom/fasterxml/jackson/databind/ObjectMapper; The method's class, org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat, is available from the following locations: jar:file:/C:/Users/Lindhauer/.m2/repository/org/camunda/spin/camunda-spin-dataformat-all/1.7.4/camunda-spin-dataformat-all-1.7.4.jar!/org/camunda/spin/impl/json/jackson/format/JacksonJsonDataFormat.class It was loaded from the following location: file:/C:/Users/Lindhauer/.m2/repository/org/camunda/spin/camunda-spin-dataformat-all/1.7.4/camunda-spin-dataformat-all-1.7.4.jar Action: Correct the classpath of your application so that it contains a single, compatible version of org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat
Reason: CamundaJacksonFormatConfiguratorJSR310 does not work if Jackson is relocated as it is with dataformat all.
Expected behavior:
- Option 1: Auto-configuration works also with spin-dataformat-all
- Option 2: Auto-configuration is not supported for spin-dataformat-all and doesn't fail startup
Workaround: Switch to dataformat-json and dataformat-xml dependencies
This is the controller panel for Smart Panels app
- is related to
-
CAM-9972 Auto Configuration for Java8/JSR-310 Date-Time types in Spring Boot
- Closed