java.lang.ClassNotFoundException: com.github.pagehelper.Page

主要原意是在pagehelper的中我们使用pageiInfo,pageInfo中使用继承了arrayList的page,所以在服务发布于获取的序列化与反序列化中会去找page,找不到就会报错,但是由于他继承了ArrayList所以不会影响结果。

解决方法:在pom.xml中引入依赖

            <dependency>

                        <groupId>com.github.pagehelper</groupId>

<artifactId>pagehelper</artifactId>
</dependency>

猜你喜欢

转载自blog.csdn.net/zhangshuchuncsdn/article/details/80528862
今日推荐