项目启动提示应用程序上下文中某些bean的依赖关系形成一个循环
[pre]
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-08-07 11:06:50.666 ERROR 980 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
The dependencies of some of the beans in the application context form a cycle:
methodValidationPostProcessor defined in class path resource [org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]
↓
shiroFilter defined in class path resource [io/renren/common/config/ShiroConfig.class]
┌─────┐
| securityManager defined in class path resource [io/renren/common/config/ShiroConfig.class]
└─────┘
[/pre]