java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.github.pagehelper.Page
在使用Mybetis分页插件时测试抛出了此异常,出现此异常的原因大体有两点:
配置原因
步骤一、配置maven
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>...
原创
2018-12-08 15:01:21 ·
20295 阅读 ·
1 评论