springboot2 + springsecurity + activiti7時出現以下提示spring
Description:
The bean 'methodSecurityInterceptor', defined in class path resource [org/activiti/spring/boot/MethodSecurityConfig.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.class] and overriding is disabled.springboot
Action:app
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
根據提示須要在application.properties中加上ide
spring.main.allow-bean-definition-overriding=truespa