Every time the project is downloaded from github, the following error is reported:
could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.2.5.RELEASE from/to nexus-aliyun (https://maven .aliyun.com/nexus/content/groups/public): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
Add the parameter "-Dmaven.wagon." after the Maven command. http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true"
This setting can skip the certificate check, and then maven clean, compile, and install can solve this problem.
ps: *I found a very good check-in tool, just for paddling at work! Share with everyone: