eclipse - ArtifactDescriptorException : Failed to read artifact descriptor Maven error

标签 eclipse maven jboss repository

我正在使用最新的 Eclipse for Java EE,并安装了 JBoss Tools,因此包含 Maven。我将现有的 Maven 项目导入到我的工作区并尝试更新依赖项,但我的 POM 中只收到错误消息,指出某些参数无效并且无法传输任何 Artifact 。 实际上有两个不同的错误,也许它们相互依赖? 您可以检查:服务器可用,我也尝试重新安装 Eclipse 和 JBoss。那么还缺少什么?

ArtifactDescriptorException: Failed to read artifact descriptor for edu.kit.aifb.ai2.sqsclient:sqsclient:jar:1.0.0: ArtifactResolutionException: Failure to transfer edu.kit.aifb.ai2.sqsclient:sqsclient:pom:1.0.0 from http://eorg-ai2.aifb.kit.edu:8081/nexus/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of Beehive has elapsed or updates are forced. Original error: Could not transfer artifact edu.kit.aifb.ai2.sqsclient:sqsclient:pom:1.0.0 from/to Beehive (http://eorg-ai2.aifb.kit.edu:8081/nexus/content/repositories/releases): Invalid argument: getsockname to http://eorg-ai2.aifb.kit.edu:8081/nexus/content/repositories/releases/edu/kit/aifb/ai2/sqsclient/sqsclient/1.0.0/sqsclient-1.0.0.pom

我的存储库文件夹中确实除了 .pom.lastUpdated-files 之外什么都没有

Error resolving version for plugin 'org.apache.maven.plugins:maven-shade-plugin' from the repositories [local (C:\Users\Gregor.Gregs.m2\repository), central (http://repo1.maven.org/maven2)]: Plugin not found in any plugin repository

谢谢

最佳答案

对我来说,这是因为 Eclipse 正在缓存异常(即使在我解决了原始问题之后),所以尝试:

right click on project -> maven -> update-project -> force to update snapshot/release -> OK.

它对我解决类似的问题很有用。

关于eclipse - ArtifactDescriptorException : Failed to read artifact descriptor Maven error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10729394/

相关文章:

java - JPA/hibernate ORA-00932 : inconsistent datatypes: expected NUMBER got BINARY

java - Maven 可以部署一个模块到 JBoss 吗?

java - 无法在 JBoss EAP 6.2 中通过 SSL 连接到 SOAP 服务

eclipse - 将模板插入到 Eclipse 项目中的每个源文件中?

linux - 在 Linux 机器或 VM 上安装 Eclipse Kura

java - 如何构建 EclipseLink 2.7.0

java - jqassistant 报告生成失败,Maven 站点

java - @MultipartForm 如何获取原始文件名?

javascript - 如何单击信息窗口打开特定布局? - 谷歌地图 API 2

Eclipse 在 Ubuntu 上找不到 ROS 二进制文件