Maven依赖缺失伪像 [英] Maven Dependency missing artifact

查看:274
本文介绍了Maven依赖缺失伪像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用Maven开发一个Java项目。在我的 pom.xml中我收到此错误。


Missing artifact com.bea.xml:jsr173-ri:jar:1.0


我已经添加这种依赖关系

 < dependency> 
< groupId> com.bea.xml< / groupId>
< artifactId> jsr173-ri< / artifactId>
< version> 1.0< / version>
< / dependency>

到我的 pom.xml 。但是仍然错误是一样的。



我没有添加 jsr173-ri 依赖关系的存储库我也没有得到存储库添加到我的 pom.xml



有人可以建议我的存储库代码 jsr173-ri 添加到我的 pom.xml

解决方案

com.bea.xml 公共仓库(下载大小为零)。因此,您需要下载JAR文件并手动将其安装到本地的备用站。



一些有用的链接:手动安装依赖关系


I am currently working on a Java project using Maven. In my pom.xml I am getting this error.

Missing artifact com.bea.xml:jsr173-ri:jar:1.0

I have added this dependency

<dependency>
        <groupId>com.bea.xml</groupId>
        <artifactId>jsr173-ri</artifactId>
        <version>1.0</version>
</dependency>

to my pom.xml. But still the error is same.

Am I missing adding repository for jsr173-ri dependency? I am also not getting repository to add in my pom.xml.

Can someone suggest me repository code for jsr173-ri to add in my pom.xml?

解决方案

com.bea.xml is not available in public repositories(Download size is zero). Therefore you need to download the JAR file and manually install it in to your local repo.

Some useful links: Manually install dependency

这篇关于Maven依赖缺失伪像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆