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>

浙公网安备 33010602011771号