java - 这个 Maven 认证错误表明了什么?
问题描述
[错误] com.example:dynamoWork:0.0.1-SNAPSHOT 的不可解析父 POM:无法从/到 artie 传输工件 org.springframework.boot:spring-boot-starter-parent:pom:2.1.0.RELEASE (https://repo.maven.apache.org/maven2/):sun.security.validator.ValidatorException:PKIX 路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到请求目标的有效证书路径和'parent.relativePath' 指向没有本地 POM @ 第 14 行,第 10 列 -> [帮助 2]
解决方案
您很可能在代理后面。您需要在 settings.xml 中使用您组织的镜像站点,传递镜像站点的 id/密码,并将站点的证书安装到您的 jre\lib\security\cacert 文件中。
推荐阅读
- java - 解析 JSON 异常 - 无法反序列化
- material-design - PreferenceFragments 中 DialogPreferences 的 MaterialAlertDialogBuilder
- java - 如何在 servlet 中获取 java bean 的值?
- crash - 已在 Play 商店发布,但应用无法打开
- java - 使用 android 应用程序扫描范围内的蓝牙设备
- django - 通过 cookie 标头发送令牌身份验证信息是否安全?
- android - 带有 Android 导航组件的通知单击侦听器
- java - 在线游戏的 Selenium 自动化
- java - 元素与 GridBagConstraints 不正确对齐
- c# - 如何在 Bot Framework C# 中在运行时生成瀑布步骤?