
1.把jar放入resources或者新建lib文件夹放入其中
2.添加pom.xml配置
<dependency>
<groupId>test</groupId>
<artifactId>test-1.02</artifactId>
<version>1.02</version>
<scope>system</scope>
<systemPath>src/main/resources/test.jar</systemPath>
</dependency>
本文介绍如何在Maven项目中正确配置本地jar依赖,包括将jar包放置于资源目录或新建lib文件夹,并通过pom.xml文件进行依赖声明,确保项目能够顺利编译和运行。
1077

被折叠的 条评论
为什么被折叠?



