pagehelper报错class java.util.ArrayList cannot be cast to class com.github.pagehelper.Page问题
·
1.导入pagehelp配置后运行程序,如果出现
pagehelp 的图像文字代表配置成功,(类似springboot的图像 )
2.若未出现,代表版本与springboot不匹配,如果是springboot2.x.x 可以试试1.4.2
如果是springboot3.x.x 我的环境如下3.3.7 jdk17 下
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.4.7</version>
</dependency>
更多推荐
所有评论(0)