maven - 无法在 Eclipse(氧气)中创建 Maven 项目
问题描述
得到这个错误:
Could not resolve archetype 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 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.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
解决方案
推荐阅读
- oracle - 如何更新表 Oracle PLSQL 中的每一行
- python - Python:使用 Tweepy 字典时出现 TypeError
- angular - 如何使用传单打开的街道地图以角度检测标记在圆圈内外
- android - 生成 .so 文件后构建 cpp 代码以在 Anroid 中运行 FFMPEG 命令
- java - 我安装了 Oracle JDK 14 但没有找到 jmc (Java Mission Control)
- reactjs - 使用 npm 包中的 React 函数组件时出现无效的钩子调用错误
- c# - 将 Selenium Chrome Webdriver 与 C# 一起使用时出错
- javascript - TheCatAPI 返回“未定义”
- python - 来自 Excel 三行的 json
- wpf - 项目控件中网格的 WPF 滑动功能