Spring Boot 打包时使用Local的JAR

[url]https://stackoverflow.com/questions/30207842/add-external-library-jar-to-spring-boot-jar-internal-lib[/url]

Pom中添加Dependency

com.microsoft.sqlserver
sqljdbc41
4.1
system
${basedir}/lib/sqljdbc41.jar


添加Plugin

org.springframework.boot
spring-boot-maven-plugin

true

你可能感兴趣的:(Spring,spring,local,jar,system)