The bean 'methodSecurityInterceptor', defined in class path resource [org/activiti/spring/boot/Metho

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.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true

According to the prompt, you need to add
spring.main.allow-bean-definition-overriding = true to application.properties

Published 19 original articles · Likes2 · Visits 721

Guess you like

Origin blog.csdn.net/qq_40977118/article/details/105041294
Recommended