mavenSSL certificate verification problem

mavenSSL certificate verification problem


There will not be introduced in the case file pom package introduced, .lastUpdate suffix name appears
This happens because the request maven remote repository does not pass the security verification when downloading. So there will be download failure

Solution:

1) (Not recommended)
Download all required dependencies directly and save them locally.
2) Ignore the validity of the SSL certificate.
First select Settings,

enter maven

in the search box, select Runner under maven, and
Insert picture description here
put this string into the VM

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

Insert picture description here
Finally, click Apply.

Guess you like

Origin blog.csdn.net/JL_Java/article/details/109245117