springboot引入第三方sdk,及打包
- 然后配置maven打包插件的系统范围
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<mainClass>com.zxh.DemoApplication</mainClass> ----- 这行不要
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
</plugins>
</build>
相信坚持的力量,日复一日的习惯.