Spring boot 通过配置设置允许循环依赖

在全局配置文件中添加以下配置
spring:
  main:
    allow-circular-references:true

posted @ 2023-03-29 16:10  18sui  阅读(1675)  评论(0)    收藏  举报