解决The dependencies of some of the beans in the application context form a cycle:的问题

报错信息如下:

原因:由于springboot2.6后,因循环依赖导致报错

解决:在application.yml中配置

猜你喜欢

转载自blog.csdn.net/crazy1013/article/details/124595954