The dependencies of some of the beans in the application context form a cycle: ┌──->──┐ | com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration └──<-──┘ Action
解决方案:
# 解决升级springboot2.6 因循环引用导致启动时报错
spring.main.allow-circular-references=true