原文: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