Description:
The dependencies of some of the beans in the application context form a cycle:
┌──->──┐
| com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration
└──<-──┘
Action:
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.
升级了springboot版本后启动项目这样报错,查阅资料也只有个临时的解决办法:
(不推荐)
spring:
main:
allow-circular-references: true
有办法的大佬请指点!!!(抱拳)