Add external library .jar to Spring boot .jar internal /lib

前端 未结 7 1340
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-29 23:04

I have an external .jar that cannot be imported from public repositories using pom.xml, it\'s sqljdbc41.jar.

I can run the project locally from my IDE,

7条回答
  •  醉梦人生
    2020-11-29 23:38

    you can set 'includeSystemScope' to true.

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

提交回复
热议问题