[能否请您帮我找到rs2xml.jar的依赖项标签。我认为这对我真的很有帮助。 net.proteanit.sql.DbUtils
我检查了Maven Central Repository JAR文件的MvnRepository和rs2xml
,但找不到它。 Google搜索与此依赖关系相对应的POM也为空。但是,您仍然可以手动将JAR安装到您自己的本地存储库中,然后将其用作其他依赖项。
mvn install:install-file -Dfile=C:\rs2xml.jar -DgroupId=net.proteanit.sql
-DartifactId=rs2xml -Dversion=1.0 -Dpackaging=jar
用您下载JAR的计算机上的实际位置替换路径C:\rs2xml.jar
。要在项目中使用rs2xml
依赖项,请在POM文件中包含以下标记:
<dependency>
<groupId>net.proteanit.sql</groupId>
<artifactId>rs2xml</artifactId>
<version>1.0</version>
</dependency>
我必须提取包裹:net.proteanit.sql.DbUtils导入我的项目。
有效!
在尝试使用Sugestion编辑pom.xml之前:
<dependency>
<groupId>net.proteanit.sql</groupId>
<artifactId>rs2xml</artifactId>
<version>1.0</version>
但不起作用...:(