java.lang.ClassNotFoundException: com.github.pagehelper.Page
主要原意是在pagehelper的中我们使用pageiInfo,pageInfo中使用继承了arrayList的page,所以在服务发布于获取的序列化与反序列化中会去找page,找不到就会报错,但是由于他继承了ArrayList所以不会影响结果。解决方法:在pom.xml中引入依赖<dependency><groupId>com.github.pagehelp...
·
主要原意是在pagehelper的中我们使用pageiInfo,pageInfo中使用继承了arrayList的page,所以在服务发布于获取的序列化与反序列化中会去找page,找不到就会报错,但是由于他继承了ArrayList所以不会影响结果。
解决方法:在pom.xml中引入依赖
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.0.0</version>
</dependency>
更多推荐
已为社区贡献2条内容
所有评论(0)