今天Springboot中加入PageHelper插件报下面的错误:Spring循环依赖_环球热点评
发布时间:2023-06-17 18:39:20
来源:哔哩哔哩
【资料图】
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,也可以跳过
重新启动项目,完美
标签: