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.
补充:springboot2.6.0和springboot2.6.1只能使用pagehelper-spring-boot-starter1.4.1及以上版本,如果用低版本的pagehelper-spring-boot-starter,springboot需要降版本。