[toc] pagehelper 无法实现分页查询遇到的问题 引入了pagehelper的jar包 可以看到虽然调用了分页插件,却依然无法实现分页查询*解决方法 在mybatis的配置文件中配置pagehelper 1234567<!--引入分页插件--><plugins> <plugin interceptor="com.github.pagehelper.PageInterceptor"> <!-- 分页参数合理化,不可能<1,或者>最大页码--> <property name="reasonable" value="true"/> </plugin></plugins> 配置完成后 配置完成后,完美解决*