如果pom文件依赖的是pagehelper-spring-boot-starter,那么启动可能会报错:
com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration
有的人说是版本问题,可能修改版本会解决问题,但是我遇到过改什么版本都不行。
所以我解决的办法是引入原PageHelper的pom依赖,使用高版本:
https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper