不继承spring-boot-starter-parent创建springboot项目引起的打包不会打包依赖包解决方法
在创建springboot项目时,如果我们使用Spring initializr创建项目,生成项目的pom文件是集成spring-boot-starter-parent的,在打包时默认会将所有的依赖打包。
打包插件默认配置如下:
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
.
原创
2020-11-05 17:07:27 ·
1252 阅读 ·
1 评论