Problem Description:
Create a Web project using the Eclipse's own maven plugin error:
could not resolve archetype Org.apache.maven.archetypes:maven-archetype-webapp: RELEASE from any of the configured repositories.
Could not resolve artifact Org.apache.maven.archetypes:maven-archetype-webapp:pom:release
Failed to resolve Version for org.apache.maven.archetypes:maven-archetype-webapp:pom:release:could not find metadata Org.apache.maven.archetypes:maven-archetype-webapp/maven-metadata.xml in local (C:\Users\liujunguang\.m2\ Repository)
Failed to resolve version for Org.apache.maven.archetypes:maven-archetype-webapp:pom:release:could Not find metadata org.apache.maven.archetypes:maven-archetype-webapp/maven-metadata.xml in local (C:\Users\ liujunguang\.m2\repository)
Error
Solution:
Add a new catalog configuration in the Eclipse MAVEN configuration:
Next, create a Web project with the catalog you just added
At this point, you can see the Eclipse Internet download:
This time to see if the creation was successful.
If you are still unable to create or if the problem is not resolved, you can install the following method:
1. Delete the file path that Maven has downloaded:. m2\repository\org\apache\maven
Delete and then try again, this time if you see progress, only need to wait patiently on the line
Eclipse EE (Luna) is unable to create a MAVEN project