Activiti REST and spring-boot integration

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

Activiti REST and spring-boot integration

Hi Team,

We are trying to deploy Activiti-REST as a spring boot application.

When using Activiti-REST Version 5.22.0 and spring-boot-starter-parent 1.5.1.RELEASE i am getting below error,

"org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'formDataResource': Unsatisfied dependency expressed through field 'formService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException"

On the other side if i use Activiti Version 5.22.0 and spring-boot-starter-parent 1.3.2.RELEASE, everything works fine.

Is there a specific dependency of Activiti-REST with spring boot?

Looking forward for your support. Thanks in advance.

1 Reply

Re: Activiti REST and spring-boot integration


Are you using the Spring Boot examples from here:

GitHub - Alfresco/activiti-spring-boot-samples 

I updated the pom.xml (attached) to reference version and spring-boot-starter-parent version 1.5.1.RELEASE and everything appears to build and start ok.

I also hit the URL http://localhost:8080/management/engine and got a valid result (after I authenticated).

Are you seeing different results?