最近在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。
转载于:https://www.cnblogs.com/yuanchaoyong/p/6250087.html
相关资源:javaee-api-5.jar