springboot打包找不到maven中的实体jar包解决方案
在resources下创建一个lib包,将打好的jar包放入
例:
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/4ede04b71da2885fea25178e432c7409.png)
需在pom中引入打的实体jar包地址
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>项目名</artifactId>
<version>0.0.1-SNAPSHOT</version>
<scope>system</scope>
<systemPath>${project.basedir}/jar包地址</systemPath>
</dependency>