我执行是连接到Web服务WSO2,所以不过我加了一些必要的依赖关系,即Axis2的Maven的依赖失败
<dependency>
<groupId>org.wso2.carbon</groupId>
<artifactId>org.wso2.carbon.user.core</artifactId>
<version>3.0.0</version>
</dependency>
,行家抛出异常:
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.apache.axis2:axis2-kernel:jar:SNAPSHOT
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to transfer org.apache.axis2:axis2-kernel:pom:SNAPSHOT from http://ws.zones.apache.org/repository2 was cached in the local repository, resolution will not be reattempted until the update interval of apache-ws-snapshots2 has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.axis2:axis2-kernel:pom:SNAPSHOT from/to apache-ws-snapshots2 (http://ws.zones.apache.org/repository2): ws.zones.apache.org
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.apache.axis2:axis2-kernel:pom:SNAPSHOT from http://ws.zones.apache.org/repository2 was cached in the local repository, resolution will not be reattempted until the update interval of apache-ws-snapshots2 has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.axis2:axis2-kernel:pom:SNAPSHOT from/to apache-ws-snapshots2 (http://ws.zones.apache.org/repository2): ws.zones.apache.org
现在,当我尝试打开网站时,它不可用,所以工件不能下载。有没有办法将这个回购变成别的东西,所以我可以从那里下载。
'无法传递工件org.apache.axis2:axis2-kernel:pom:SNAPSHOT从/到apache-ws-snapshots2(http://ws.zones.apache.org/repository2):ws.zones.apache .org:未知主机ws.zomes.apache.org' –
我尝试关闭项目,删除工作区,强制更新依赖项,清理rpject,没有任何帮助。 –
@LoneWanderer错误未知主机ws.zomes.apache.org看起来像repo不存在或者像没有连接到ws.zomes.apache.org。你可以检查它做你的机器ping到未知主机ws.zomes.apache.org吗? –