PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder

http://maven.aliyun.com/nexus/content/groups/public/ , the warehouse address is updated to HTTPS, so SSL authentication is required when downloading. We can ignore the problems caused by SSL check. We can directly ignore the check by using the command:
open the terminal under the project path command:

mvn clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

I tried this, but it didn’t work

I’ve tried the following one. It’s OK

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

Similar Posts: