【资料图】

Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.

我是这样的解决了的

我在yml文件中加入了

main:  allow-circular-references: true   #清理循环引用的bean,也可以跳过

重新启动项目,完美

上一篇:世界滚动:采用全新造型设计 全新DS 4或将于7月13日上市

下一篇:最后一页

x

推荐阅读

更多