maven 更新远程库时报错:
更新不下来:
我配置了Maven代理都下载速度依然是慢
试试我这里的 仓库镜像
<mirror>
<id>repo1</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name 1</name>
<url>https://repo1.maven.org/maven2/</url>
</mirror>
<mirror>
<id>repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name 2</name>
<url>https://repo2.maven.org/maven2/</url>
</mirror>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
后面两个是官网的,貌似试过不行
不知道你这个问题是否已经解决, 如果还没有解决的话:今天跑maven项目的时候遇到错误:
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
导致maven项目没办法跑起来,并且不能mvn操作