<!-- 核心包(启动器已间接依赖,但显式声明更稳妥) -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.3.3</version>
</dependency>
<!-- pagehelper 分页插件 -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.4.7</version>
</dependency>
启动器间接依赖无效,项目补充依赖就好了。
另外不导入pagehelper-spring-boot-starter 会导致启动
SpringApplication.run
只会由banner.txt输出,无其它内容。
1623

被折叠的 条评论
为什么被折叠?



