IDEA maven报错unable to find valid certification path to requested target

在maven配置了阿里云的镜像后,报标题的错。

解决方法:
在IDEA的Settings-Maven-Runner下修改设置如下:
VM Options添加:
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
IDEA maven报错unable to find valid certification path to requested target
——————————————————————————————
本文为个人记录所用,如有侵权/错误,恳请指出 (╹▽╹)…