java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.github.pagehelper.Page

由于没有分页强转报错,0查询全部  
修改代码
Integer pageNum = Convert.toInt(param.getPageNum(), 0);
Integer pageSize = Convert.toInt(param.getPageSize(), 0);
PageHelper.startPage(pageNum, pageSize);
原文地址:https://www.cnblogs.com/donglulu/p/13431576.html