rs2xml.jar的查找依赖项标签

问题描述 投票:2回答:2

[能否请您帮我找到rs2xml.jar的依赖项标签。我认为这对我真的很有帮助。 net.proteanit.sql.DbUtils

java maven netbeans
2个回答
0
投票

我检查了Maven Central Repository JAR文件的MvnRepositoryrs2xml,但找不到它。 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>

0
投票

我必须提取包裹:net.proteanit.sql.DbUtils导入我的项目。

enter image description here

有效!

在尝试使用Sugestion编辑pom.xml之前:

<dependency>
<groupId>net.proteanit.sql</groupId>
<artifactId>rs2xml</artifactId>
<version>1.0</version>

但不起作用...:(

https://github.com/wfrsilva/javaMySQL03_infoX

© www.soinside.com 2019 - 2024. All rights reserved.