Install Maven plug-in eclipse to develop a web project and solve the following error: failure to transfer org. Apache. Maven. plugins: Maven-resources-plugin: POM

Source: Internet
Author: User

I found that the plug-in from the eclipse market is still quite useful and installedAfter the m2eclipse-wtp, added support for eclipse web projects, good to use.

The installation sequence should be noted:

InstallM2e, and then installM2eclipse-wtp.


First install the second m2e, and then install the m2eclipse-wtp

Otherwise, errors such as the following are continuously reported:

No plugin found for prefix 'war 'in the current project and in the plugin groups [] available from the repositories [local (C: \ Users \ Administrator \. m2 \ repository), central (http://repo.maven.apache.org/maven2)]

Failure to transfer org. Apache. Maven. plugins: Maven-resources-plugin: pom: 2.5 From http://repo.maven.apache.org/maven2 was cached in the local repository, resolution
Will not be reattempted until the update interval of central has elapsed or updates are forced. original error: cocould not transfer artifact Org. apache. maven. plugins: Maven-resources-plugin: pom: 2.5 from/to central (http://repo.maven.apache.org/maven2): Connection
To http://repo.maven.apache.org refused

After the fix, There will be various errors. At first, I thought the eclipse version was a problem, and then I switched it to a variety of errors.

At last, I adjusted the installation sequence, so I won't report any errors. it's really tough.

Related Article

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.