Spring boot 2.7.4 with Activiti spring boot starter 7.6.0 upgrade failing

cancel
Showing results for 
Search instead for 
Did you mean: 
idamav
Member II

Spring boot 2.7.4 with Activiti spring boot starter 7.6.0 upgrade failing

I used successfuly the activiti-spring-boot-starter 7.1.0.M5 and upgraded whole project to spring-boot 2.7.4. The activity DB was recreated manually using the provided scripts. However, I cannot overcome this error, when I start the project(REST API), nor find its source:

{"logtimestamp":"2022-11-01 12:07:21.488","thread":"main","level":"WARN","logref":"-","area":"org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext","service":"default","msg":"Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'copyDataService': Unsatisfied dependency expressed through field 'myService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'myServiceImpl': Unsatisfied dependency expressed through field 'runtimeService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'runtimeServiceBean' defined in class path resource [org/activiti/spring/boot/ProcessEngineAutoConfiguration.class]: Unsatisfied dependency expressed through method 'runtimeServiceBean' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'processEngine' defined in class path resource [org/activiti/spring/boot/ProcessEngineAutoConfiguration.class]: Unsatisfied dependency expressed through method 'processEngine' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'springProcessEngineConfiguration' defined in class path resource [org/activiti/spring/boot/ProcessEngineAutoConfiguration.class]: Unsatisfied dependency expressed through method 'springProcessEngineConfiguration' parameter 6; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'applicationUpgradeContextService' defined in class path resource [org/activiti/core/common/spring/project/conf/ApplicationUpgradeContextAutoConfiguration.class]: Unsatisfied dependency expressed through method 'applicationUpgradeContextService' parameter 1; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: \"1.0.0\""}

I checked the common and less common dependencies just in case I missed anything, but couldn't find anything. When I remove Activiti from project, it starts as expected.