背景 本地Jar包打包进项目时,要么在IDEA运行不起来命令运行可以,要么IDEA运行可以命令运行不起来(找不到Jar包,其实是没打进去或者没打对位置) 解决方案 方法一: lib放在resources文件夹下(需要设置排除lib文件夹,不然会打包两份本地Jar包进项目Jar包) <depe
分类: Maven
1.把Jar放到资源文件夹的任意位置 2.配置路径(路径为放Jar包的路径) pom.xml <dependency>
<groupId>com.jinritemai</groupId>
<artifactId>sdk-java</ar
背景:使用dependencyManagement配置继承spring-boot-starter-parent时,Jar包运行提示'无主属性清单' 解决:spring-boot-maven-plugin插件需要配置 pom.xml <build>
<plugins>
1 / 1