maven 正常运行,打包提示未找到Class
1. 引入的有外部jar :
<groupId>xxx</groupId>
<artifactId>xxxx</artifactId>
<version>xxxx</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/xxxxxxxx.jar</systemPath>
2.打包需要配置一下:
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
作者:人间春风意
扫描左侧的二维码可以赞赏

本作品采用署名-非商业性使用-禁止演绎 4.0 国际 进行许可。

浙公网安备 33010602011771号