找到maven 的配置文件settings.xml,在其中添加以下配置,可解决在中央仓库无法下载jar包问题。
Could not transfer artifact * from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version
<!-- 阿里云仓库 -->
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
本文介绍如何通过修改Maven的settings.xml文件,添加阿里云仓库镜像配置来解决从中央仓库下载jar包时遇到的protocol_version错误。
3346

被折叠的 条评论
为什么被折叠?



