解决方案:
I had a similar issue with Eclipse and the same steps as Sanders did solve it. It happens because the proxy restricts call to maven repository
- Go to
D:\Maven\apache-maven-3.0.4-bin\apache-maven-3.0.4\conf
(ie your maven installation folder) - Copy
settings.xml
and paste it in.m2
folder, which is in the users folder of your windows machine. - Add the proxy setting
maven m2文件夹在哪?
maven默认的.m2 路径是 ${user}/.m2/
比如我的 在 C:\Users\feilong\.m2