Pop-up error when creating a Maven WebApp project in Eclipse-workaround

Source: Internet
Author: User

Create Maven WebApp project in Eclipse Error:

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

The problem occurs because the Maven-archetype-webapp package is missing from the local repository, or it may not be fully downloaded, such as only pom files, or only jar package files, etc.

The package path is: C:\Users\xxxx\. m2\repository\org\apache\maven\archetypes\maven-archetype-webapp\1.0

Workaround 1:

If there is no maven-archetype-webapp-1.0.jar under the path, delete the entire 1.0 folder. MAVEN will automatically re-download the jar file when you re-create the MAVEN project into eclipse.

Workaround 2:

Adding Maven-archetype-webapp dependencies to an existing project

This dependency is useless, purely to download Maven-archetype-webapp to a local repository

Or

Put Maven-archetype-webapp.jar into a local repository by any other means.

Pop-up error when creating a Maven WebApp project in Eclipse-workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.