maven导入项目出错 Maven: Failed to retrieve plugin descriptor error

解决方案:

 

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

  1. Go to D:\Maven\apache-maven-3.0.4-bin\apache-maven-3.0.4\conf (ie your maven installation folder)
  2. Copy settings.xml and paste it in .m2 folder, which is in the users folder of your windows machine.
  3. Add the proxy setting

 

maven m2文件夹在哪?

maven默认的.m2 路径是 ${user}/.m2/

比如我的 在  C:\Users\feilong\.m2

你可能感兴趣的:(project学习)