【发布时间】:2021-10-29 07:00:51
【问题描述】:
“干净安装”时的项目在本地.m2搜索“eiUtil jar”,如果不存在。
它尝试搜索远程工件并给出以下信息:
Failed to read artifact descriptor for Gullaintegrator:eiutil:jar:2.15-SNAPSHOT:
Could not transfer artifact Gullaintegrator:eiutil:pom:2.15-SNAPSHOT from/to Gullaintegrator-snapshots
(https://artifactory.Gullaintegrator.cosng.net/libs-snapshot):
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
建议的解决方案是转到https://artifactory.gullaintegrator.cosng.net/ 并在Chrome 上下载证书并将其安装在Java 证书中(lib\security\cacerts)。它以某种方式适用于一个系统。
这是唯一的解决方案吗? 实际上是什么问题? 为什么需要这样的练习?在 eclipse 中是否有临时和快速的解决方法?
【问题讨论】:
-
给定的 url 无法访问...缺少 DNS 条目看起来很可疑...
标签: java eclipse maven cacerts