How can I fix my spring boot setup in 6.4.0


#1

I created a spring boot starter app using start.spring.io (using version 2.0.7)

Afterwards I installed formable, as described in §5.7.2 of the current docs. I added both dependencies, flowable and h2.

What worked: When using 6.3.1 as ${flowable.version}, everything is fine.

What did not work: When using 6.4.0 as ${flowable.version}, the following error is reported, when I execute mvn spring-boot:run

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.0.7.RELEASE:run (default-cli) on project study-processes: An exception occurred while running. null: InvocationTargetException: Error creating bean with name ‘processAppEngineConfigurationConfigurer’ defined in class path resource [org/flowable/spring/boot/ProcessEngineAutoConfiguration$ProcessEngineAppConfiguration.class]: Unsatisfied dependency expressed through method ‘processAppEngineConfigurationConfigurer’ parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘processEngineConfigurator’ defined in class path resource [org/flowable/spring/boot/ProcessEngineAutoConfiguration$ProcessEngineAppConfiguration.class]: Unsatisfied dependency expressed through method ‘processEngineConfigurator’ parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘springProcessEngineConfiguration’ defined in class path resource [org/flowable/spring/boot/ProcessEngineAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flowable.spring.SpringProcessEngineConfiguration]: Factory method ‘springProcessEngineConfiguration’ threw exception; nested exception is java.lang.NoClassDefFoundError: org/flowable/image/ProcessDiagramGenerator: org.flowable.image.ProcessDiagramGenerator -> [Help 1]


#2

There is a post in the Flowable blog re Building your own Flowable Spring Boot Application.