在spring boot中用PageHelper的时候,出现了一下这个问题
springboot2.6好像禁止循环依赖,然后把版本改成最新版本就好了
<!-- pagehelper 分页插件 -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.4.1</version>
</dependency>