尝试用brew安装maven 一直下载失败404 安装不成功,最开始以为是homebrew的源有问题,后来换成了阿里云的源,但还是失败,最后上网根据报错的信息,找到了类似的问题
参考的这位网友的文章:https://blog.csdn.net/qq_32590631/article/details/90260958
最开始我的报错信息:
Twh-MBP:~ twheng$ brew install maven
Updating Homebrew…
^C==> Downloading https://www.apache.org/dyn/closer.cgi?path=maven/maven-3/3.6.0/b
==> Downloading from http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.
curl: (22) The requested URL returned error: 404 Not Found
Trying a mirror…
==> Downloading https://archive.apache.org/dist/maven/maven-3/3.6.0/binaries/apa
######################################################################## 100.0%
curl: (28) Operation timed out after 5000 milliseconds with 0 out of 0 bytes received
Trying a mirror…
==> Downloading https://www-eu.apache.org/dist/maven/maven-3/3.6.0/binaries/apac