i am using eclipse 4.4.1. and i installed m2e version 1.5.0.. Using macOS 10.9, java 7
i downloaded some maven sample and its running fine. But whenever i am trying to create any maven project its giving me following error.
first i am getting following warning as warning box "Failed to create project"
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories.
once i click OK. i am getting another error box "Problem Occurred "
Unable to create project from archetype [co.ntier:spring-mvc-archetype:1.0.2 -> http://maven-repository.com/artifact/co.ntier/spring-mvc-archetype/1.0.2]
The defined artifact is not an archetype
i tried creating other archetype too.. almost similar type of error.
I google about this error and found the result to put. setting.xml in .m2/. First i copied the content of xml from
https://maven.apache.org/settings.html[
^]
then put proxy part as
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>proxy.example.com</host>
<port>8083</port>
</proxy>
</proxies>
then also it didnot work.
then i gave only setting with proxy. did not work
i also included setting.xml file in Prefrence->maven->User settings.
I also try to set "Add Remote Catalog"
http://stackoverflow.com/questions/15506043/create-a-maven-project-in-eclipse-complains-could-not-resolve-archetype[
^]
But nothing seems working
Plz help...