首先查阅网上资料 好多copy佬都说是mybatis 装配数据格式不对 无奈半天 查看包名称 搜索
然后猜测是分页助手出了问题 为什么浪费半天呢 因为之前用resulttype 返回dto 一直花时间浪费在这无用的地方
更换版本号就ok了 一般没做任何操作然后报错的话 百分之99是环境和依赖的问题
<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.1.10</version> </dependency> <!-- pagehelper 依赖 --> <dependency> <groupId>com.github.jsqlparser</groupId> <artifactId>jsqlparser</artifactId> <version>2.1</version> </dependency>