spring boot 项目本地jar 包 打包无法打入问题
2019-04-28 本文已影响0人
Bottleli
用maven 创建spring boot 项目遇到 无法从网上jar 库下载的jar包,引入本地jar 后 打包又无法打入到版本包的问题,通过科学编程找到如下方法,进行记录一下。
1.将你的本地jar 包放入 工程目录 resources 下的lib 文件中

2.在 pom.xml 文件中配置 jar 的引用

3.pom.xml 文件中 spring boot maven plugin 加入 <includeSystemScope> true </includeSystemScope>代码 如下图
