3-springboot编译报错Relying upon circular references is discouraged and they are prohibited by default
如果是.properties文件,在文件中添加
spring.main.allow-circular-references=true
如果是.yml文件,则在文件中添加
spring:
main:
allow-circular-references:true
文章参考:
https://blog.csdn.net/weixin_45812467/article/details/123985626
posted on 2023-03-21 14:31 companion 阅读(1440) 评论(0) 编辑 收藏 举报