Solve the Could not resolve archetype org.apache.maven.archetypes error when maven creates a web project

The error message is as follows:

 

Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories.

 Analyze why:

 

After the Eclipse upgrade was unsuccessful, a new version was reinstalled in a fit of rage. The Eclipse version before Maven was used without problems. So it should be the corresponding JAR package error, or there is no corresponding JAR package. I will "org.apache.maven. Delete all the JAR packages in the "archetypes" directory, and then recreate the project without reporting an error.

 

refer to:

http://canann.iteye.com/blog/1860856

http://blog.csdn.net/afgasdg/article/details/12757433

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326933519&siteId=291194637