ArtifactTransferException: Failure to transfer org.apache.openejb:javaee-api:jar:5.0-1

Posted 晴空万里

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ArtifactTransferException: Failure to transfer org.apache.openejb:javaee-api:jar:5.0-1相关的知识,希望对你有一定的参考价值。

最近在myeclipse上创建maven类型的web项目的时候,出现了一个错误。

ArtifactTransferException: Failure to transfer org.apache.openejb:javaee-api:jar:5.0-1 from
http://100.66.227.204:8081/nexus/content/groups/public/ was cached in the local repository,
 resolution will not be reattempted until the update
 interval of ecp-maven has elapsed or updates are forced.
 Original error: Could not transfer artifact org.apache.openejb:javaee-api:jar:5.0-1 from/to ecp-maven
 (http://100.66.227.204:8081/nexus/content/groups/public/): No response
 received after 60000

 

网上找到了一个解决办法:

1、右键项目->Maven4Myeclipse->Update Project Config.....->选中项目  勾选 "Force Update of Snapshots/Releases" 

保存ok。







以上是关于ArtifactTransferException: Failure to transfer org.apache.openejb:javaee-api:jar:5.0-1的主要内容,如果未能解决你的问题,请参考以下文章

maven中pom.xml出现ArtifactTransferException: Failure to transfer 错误

ArtifactTransferException: Failure to transfer javassist:javassist:jar:3.11.0.GA from http://repo.ma

maven常见错误

maven的pom.xml中出现Multiple annotations found at this line:错误

在myeclipse中maven项目关于ssh整合时通过pom.xml导入依赖是pom.xml头部会报错

maven 下载jar失败: resolution will not be reattempted until the update interval of central has elapsed