The dependencies of some of the beans in the application context form a cycle: spring中依赖进入循环的解决办法

 

只需要再application.properties 文件中 加入 一行代码

spring.datasource.initialize=false

重新运行 就ojbk 了

 

posted @ 2018-07-24 09:11  打代码的小超人  阅读(19735)  评论(3编辑  收藏  举报