what is this maven certification error indicates?

大憨熊 提交于 2021-02-08 08:27:19

问题


[ERROR] Non-resolvable parent POM for com.example:dynamoWork:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.0.RELEASE from/to artie (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 and 'parent.relativePath' points at no local POM @ line 14, column 10 -> [Help 2]


回答1:


It's likely that you are behind a proxy. You need to use your organisation's mirror site in settings.xml, pass mirror site's id/password and also install the site's certificates to your jre\lib\security\cacert file.



来源:https://stackoverflow.com/questions/53282526/what-is-this-maven-certification-error-indicates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!