首页 > 代码库 > ArtifactTransferException: Failure to transfer org.apache.openejb:javaee-api:jar:5.0-1
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