Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4: Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:2.4 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 1]
造成该问题的原因是:中央仓库必须要TLS1.2版本才能访问,可以将jdk改为1.8,1.8默认版本协议是TLS1.2;
或者:在eclipse中Windows->preference中找到Maven ->User Setting,重新修改setting.xml配置文件,重新配置中央仓库,添加:
<mirrors>
<!--设置中央仓库的路径为国内阿里云路径-->
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>nexus</id>
<!--Enable snapshots for