0

Getting the error can't resolve archtype

error

I have installed maven in my local and created all environment variables also deleted all folder under .m2/repository folder, but still am getting the error while creating project from eclipse neon.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
  • Possible duplicate of [Failed to resolve version for org.apache.maven.archetypes](http://stackoverflow.com/questions/12742467/failed-to-resolve-version-for-org-apache-maven-archetypes) – Kiran Kumar Dec 19 '16 at 15:25

1 Answers1

0

Add the remote catalog into eclipse.

1.Open Window > Preferences

2.Open Maven > Archetypes

3.Click 'Add Remote Catalog' and add the following:

Catalog File: http://repo1.maven.org/maven2/archetype-catalog.xml
Description: maven catalog
Kiran Kumar
  • 1,033
  • 7
  • 20