<!--添加的本地的外部jar包依赖-->
<dependency>
<groupId>com.ak.lzh</groupId>
<artifactId>项目名称</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>system</scope>
<systemPath>${project.basedir}\src\main\webapp\WEB-INF\lib\sdk_https.jar</systemPath>
</dependency>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
</plugins>
</build>
<includeSystemScope>true</includeSystemScope>标签:
不加此配置,本地可以运行,因为本地可以再lib下找到外部包,但是服务器上jar中是没有的,加了这个标签后,maven打包时会将外部引入的jar包。
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- igbc.cn 版权所有 湘ICP备2023023988号-5
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务