分布式循环依赖-The dependencies of some of the beans in the application context form a cycle:

错误:分布式系统中错误引用依赖

分布式循环依赖-The dependencies of some of the beans in the application context form a cycle:_第1张图片

解决:

# Spring
spring:
  main:
    allow-bean-definition-overriding: true
    #添加配置
    allow-circular-references: true

你可能感兴趣的:(分布式,java,开发语言)