问题:pagehelper-spring-boot-starter 1.2.5不兼容最新springboot 2.6.1版本,报错
com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration 循环依赖
解决:springboot 最新版本依赖关系可查找*仓库
https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper-spring-boot-starter/1.4.1
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.2.0</version> </dependency>
<!--分页插件 --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.4.1</version> </dependency>