The first of these methods
Could not resolve archetype Org.apache.maven.archetypes:maven-archetype-quic
?
When you install theM2eclipseafter that, you can go through the menu "File"-"New"-"Project ...", select one of theMaven-maven Project, according toMavenEngineering Prototypes or templates providedarchetypeto build a simple project framework.
1)
This method is not recommended , because Eclipse need to load online
Http://repo1.maven.org/maven2/archetype-catalog.xml
2)
Recommend this way, first download to local, relatively fast
View http://repo1.maven.org/maven2/by browser to find the name Archetype-catalog.xml download to local
or download directly Http://files.cnblogs.com/files/zhaozhenqiang/archetype-catalog.xml
?
If you continue to make an error please check the maven setting.xml file, which should contain the following
3)
When you create maven This kind of anomaly sometimes occurs during engineering .
There are many solutions on the Internet, but each case is not the same, I tried several methods, no effect, if already have maven project, my operation is to change a Workspace working space is OK the
?
, three switch to which one can, the premise when switching to the workspace is not maven Engineering.
then create in this working range maven Web Project, if you do not want to use the new workspace, then switch directly to the original workspace, click Import Import into your usual working range OK up.
?
?
The second method of
Could not resolve archetype Org.apache.maven.archetypes:maven-archetype-quickstart
was previously created by command line, today with Eclipse installed M2eclipse When you finish the project when you create an error:
?? Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:release from any of the configured Repositories.
??
How to resolve:
?? 1. from http://maven.oschina.net/content/groups/public/org/apache/maven/archetypes/ maven-archetype-quickstart/?? Download the latest version Maven-archetype-quickstart-1.1.jar
?? 2. command line to download directory execution MVN Install:install-file-dgroupid=org.apache.maven.archetypes-dartifactid=maven-archetype-quickstart- Dversion=1.1?-dpackaging=jar-dfile=maven-archetype-quickstart-1.1.jar
Eclipse does not have a project prototype or template created by Maven failed