0
点赞
收藏
分享

微信扫一扫

引入github分页插件,分页不生效

梯梯笔记 2022-01-26 阅读 67

环境:spring-boot 2.3.1.RELEASE

依赖如下:

<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.3.0</version>
</dependency>

解决办法:

删除上述依赖,引入下面的依赖

<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.3.0</version>
</dependency>

举报

相关推荐

0 条评论