I got the following error message when I tried to create a Maven project in eclipse. Many have posted about proxies in settings.xml file and also flush the .m2 folder forcin
I had same issue while creating new spring project in eclipse using Maven.
The main reason for this issue is that the proxy settings was not there.
I used the following approach to reslove it:
1) create settings.xml with the below content
true
http
Your proxy
Your port
2) Save the settings.xml file under local C:\Users\<>\.m2
3) Then Right click project pom.XML in eclipse and select "Update Project". It always give precedence to settings.XML