当前位置: 首页 > 工具软件 > OpenEJB > 使用案例 >

api报错 javaee maven_ArtifactTransferException: Failure to transfer org.apache.openejb:javaeeapi:jar:5...

蒋航
2023-12-01

最近在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。

 类似资料: