Eclipse Create maven Project error: org.apache.maven.plugins:maven-resources-plugin:2.6 not found

Source: Internet
Author: User

Method One: The first time to create a MVN project will report Maven-resources-plugin-2.6.jar error, because MVN can not automatically load this jar package, delete this directory of C:\Users\Administrator\.m2\ Repository\org\apache\maven\plugins (your own directory) all files.

Method one if not, then adopt method two;

Method Two: Under the MVN project under the Pom.xml file manual

The item has a jar bag that can be added directly inside the section
<dependencies>

<dependency>

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</dependency></dependencies>

Build the MVN project run as--"maven install download.
3, after the project right button, the implementation of MAVEN update.

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.