maven编译工程报错

但是手工通过浏览器访问maven仓库一切正常

【原创】大叔经验分享(10)Could not transfer artifact org.apache.maven:maven. from/to central. Received fatal alert: protocol_version-LMLPHP

手工下载放到本地repository,然后再编译,这个错没了,又报下一个错,这么多包一个一个手工下载实在伤不起,

wtf,仔细一看,报错还有一句:Received fatal alert: protocol_version

原来是因为这个,官网地址:https://central.sonatype.org/articles/2018/May/04/discontinued-support-for-tlsv11-and-below/

这里粘贴一下answer:

原来是因为maven中央仓库不再支持TLSv1.1导致,jdk改为1.8问题解决。

04-01 00:41
查看更多