06-29-2018 05:11 AM
I get some reply from other site, the spring-boot team think activiti 6 is not compatible with spring-boot 2.0.
Cause activit 6 released in 26 May 2017. The integrated spring-boot version must be older one.
So, Maybe i can:
1) Use early version of activiti + spring-boot
2) Use activiti 6 + spring-boot 2.0 but try to use early version of starter-web
3) Try to use activiti 7, but activiti 7 seems a different way to use from the early version of activiti.
---------------------------
Hello everyone.
I meet trouble with Activiti 6 and spring-boot-starter-web.
Env:
Here is my codes: https://github.com/cybfly/activiti-demo
Question is, activiti6 works fine with spring-boot-starter-basic,
but if i add spring-boot-starter-web in my pom.xml, i meet with this error:
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource
[org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]:
Invocation of init method failed;
nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
07-01-2018 08:54 AM
How that relates to ADF framework?
Get Outlook for iOS<https://aka.ms/o0ukef>
07-01-2018 09:01 AM
Very sorry, i marked the wrong location. I have switched it to activit area.
07-03-2018 12:41 PM
Yes v6 wasn't written for boot 2.0 and v7 is. We've been making EA releases of v7 available ahead of the v7 beta. You could try using the starter-configure, which is currently the nearest equivalent in Activiti 7 to the old starter-basic: Maven Repository: org.activiti.cloud » activiti-cloud-starter-configure » 7-201802-EA
07-04-2018 01:05 AM
Thanks,and i found someone use this trip to avoid this error by exclude SecurityAutoConfiguration.class
and it really works, though i do not know what bad things it might leads to:
import org.activiti.spring.boot.SecurityAutoConfiguration;
@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
Explore our Alfresco products with the links below. Use labels to filter content by product module.