Posts

Showing posts with the label activiti

Activiti6 use spring-boot-starter-web meet requestMappingHandlerMapping error

Activiti6 use spring-boot-starter-web meet requestMappingHandlerMapping error Update: Some people found add ( exclude = SecurityAutoConfiguration.class ) can skip this ‍ error : exclude = SecurityAutoConfiguration.class error @SpringBootApplication(exclude = SecurityAutoConfiguration.class) public class ActivitiApplication { ... } I am using activiti and spring-boot, and when i mix activiti with spring-boot-starter-basic it is ok. But when i add spring-boot-starter-web in my pom.xml , i meet the following error : pom.xml error Here is my codes : codes https://github.com/cybfly/activiti-demo 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.TypeNotPresentExceptionP...