gpt4 book ai didi

java - 无法读取 com.sun.xml.ws 的工件描述符 :jaxws-rt:jar:2. 2.8 : UnresolvableModelException: Failure to transfer com. sun.xml.ws:bundles:pom

转载 作者:太空宇宙 更新时间:2023-11-04 13:11:56 25 4
gpt4 key购买 nike

我正在遵循 http://memorynotfound.com/deploy-jaxws-application-tomcat-example/ 中的示例。我刚刚将此项目(作为 Maven)导入到工作空间中,但我看到以下错误:-

    Description Resource    Path    Location    Type
ArtifactDescriptorException: Failed to read artifact descriptor for
com.sun.xml.ws:jaxws-rt:jar:2.2.8: UnresolvableModelException: Failure to transfer com.sun.xml.ws:bundles:pom:2.2.8 from
http://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced. Original error: Could not transfer artifact
com.sun.xml.ws:bundles:pom:2.2.8 from/to central
(http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/com/sun/xml/ws/bundles/2.2.8/bundles-
2.2.8.pom pom.xml /jax-ws-tomcat-example line 1 Maven Dependency Problem

解决这个问题我真的很疲惫,请帮助/指导。

最佳答案

错误读取连接超时,因此您的 Maven 在连接到 URL 时出现问题:http://repo.maven.apache.org/maven2/com/sun/xml/ws/bundles/2.2.8/bundles-2.2.8.pom

在浏览器中尝试一下。可能是网络问题。

关于java - 无法读取 com.sun.xml.ws 的工件描述符 :jaxws-rt:jar:2. 2.8 : UnresolvableModelException: Failure to transfer com. sun.xml.ws:bundles:pom,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33872587/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com