小工具知识网

当前位置: 首页 > 行业知识 > java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class com.github.pagehelpe

行业知识

java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class com.github.pagehelpe

2026-12-07 04:44:17 来源:互联网转载

可能是     Maven的版本   和    pagehelper分页插件的版本不对

()
    com.github.pagehelper    pagehelper-spring-boot-starter    1.4.2

对应Mave3以下的版本

        org.springframework.boot        spring-boot-starter-parent        2.7.12                                         com.github.pagehelper            pagehelper-spring-boot-starter            1.4.2        
()

上一篇:初创服务器怎么选择?

下一篇:怎么设置降低服务器延时?