Linto
Linto

Reputation: 31

How to remove a manual archetype from eclipse

I have created this for spring framework

Archetype Group Id: co.ntier Archetype Artifact Id: spring-mvc-archetype Archetype Version: 1.0.2 Repository URL: https://mvnrepository.com/artifact/co.ntier/spring-mvc-archetype/1.0.2

And I am getting the following error using this archetype:

Unable to create project from archetype [co.ntier:spring-mvc-archetype:1.0.2 -> ]
The defined artifact is not an archetype

How do I remove a manual archetype from Eclipse?

Upvotes: 1

Views: 4487

Answers (2)

dilRox
dilRox

Reputation: 71

In mac its in /Users/ You can see the m2 folder inside that you can find archetype-catalog.xml

Upvotes: 1

Donovan
Donovan

Reputation: 598

On Windows under c:\users{user}.m2 there is a file named archetype-catalog.xml. Open it remove the element for the archetype you want to delete and restart Eclipse.

Upvotes: 5

Related Questions