原文:Caused by: com.github.pagehelper.PageException: java.lang.ClassNotFoundException: mysql问题

配置文件properties需要改动一下,我是使用yml配置 pageHelper: dialect: mysql 改为: pageHelper: dialect: com.github.pagehelper.dialect.helper.MySqlDialect ...

2020-12-21 18:25 0 448 推荐指数:

查看详情

java.lang.ClassNotFoundException: com.github.pagehelper.Page

主要原因是使用PageHelper在【服务层】进行分页查询时返回的结果是一个Page对象,在服务发布于获取的序列化与反序列化中会去找Page,然而Page对象继承ArrayList,在最终接收时这个返回对象时,List并没有报错,但是在【引用服务的web层】并没有PageHelper ...

Wed Nov 13 06:18:00 CST 2019 0 1007
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM