Maven构建时下载错误:501 HTTPS Required.
2021-01-31 本文已影响0人
CokeCode
将settings.xml中的
http://repo1.maven.org/maven2/ 替换为 https://repo1.maven.org/maven2/
http://repo.maven.apache.org/maven2/ 替换为 https://repo.maven.apache.org/maven2/
如果环境不支持HTTPS,可以强制使用不安全的中央仓库:http://insecure.repo1.maven.org/maven2/