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.
Hmm,
Are you using the Spring Boot examples from here:
GitHub - Alfresco/activiti-spring-boot-samples
I updated the pom.xml (attached) to reference version 5.22.0.0 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?
Thanks,
Greg
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.