【发布时间】:2023-03-23 03:13:01
【问题描述】:
我正在尝试在我的 Eclipse IDE 上启动一个 maven 项目,但我收到了此错误消息。我尝试添加远程代表http://repo.maven.apache.org/maven2/archetype-catalog.xml 目录文件。但它没有修复错误。 请让
org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the
configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-
quickstart:pom:1.1
Failure to transfer org.apache.maven.archetypes:maven-archetype-
quickstart:pom:1.1 from https://repo.maven.apache.org/maven2 was cached in t
he 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 org.apache.maven.archetypes:maven-archetype-
quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2):
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
Failure to transfer org.apache.maven.archetypes:maven-archetype-
quickstart:pom:1.1 from https://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 org.apache.maven.archetypes:maven-archetype-
quickstart:pom:1.1 from/to central (https://repo.maven
【问题讨论】:
-
我用这个链接解决了问题stackoverflow.com/questions/5074063/…