错误描述

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

 

pom.xml添加引入

<dependency>
            <groupId>com.github.pagehelper</groupId>
            <artifactId>pagehelper-spring-boot-starter</artifactId>
            <version>1.0.0</version>
        </dependency>

 

application.yml

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

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2021-12-01
  • 2021-03-27
  • 2021-10-01
  • 2021-12-28
猜你喜欢
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-27
相关资源
相似解决方案