-
-
导入分页插件jar包
-
没有?怎么办!往下看
-
-
或者用Maven导入 在pom.xml中
<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.3.2</version> </dependency>
- 2第二步:编写mybatis增加插件节点
找到mybatis-config.xml
<plugins> <plugin interceptor="com.github.pagehelper.PageInterceptor"></plugin> </plugins>
2.第二步:编写mybatis增加插件节点
-