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

错误描述

java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.github.pagehelper.Page_第1张图片

 

pom.xml添加引入


            com.github.pagehelper
            pagehelper-spring-boot-starter
            1.0.0
        

 

application.yml

#pagehelper分页插件
pagehelper:
    helperDialect: oracle
    reasonable: true
    supportMethodsArguments: true
    params: count=countSql

 

 

你可能感兴趣的:(java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.github.pagehelper.Page)