项目启动提示应用程序上下文中某些bean的依赖关系形成一个循环

提问 未结 2 41
xiaomimang
xiaomimang 2019-08-07
悬赏:20积分
版本:renren-security 浏览器:
[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]
回帖
  • xiaomimang
    xiaomimang (楼主)
    2019-08-07
    之前还没这样的情况,在git上重新拉取了项目,build后启动就这样了
    0 回复
  • xiaomimang
    xiaomimang (楼主)
    2019-08-07
    知道原因了,,pom文件打开了redis集群,,配置文件里没有redis相关配置。 将配置文件中的redis相关配置加上后,就OK了
    0 回复