Error: Eclipse loading maven Engineering tip Pom.xml cannot parse org.apache.maven.plugins:maven-resources-plugin:2.3.2

Source: Internet
Author: User

The error message appears in the Project tab of the POM header, and the project label content is

<project xmlns= "http://maven.apache.org/POM/4.0.0" xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"
xsi:schemalocation= "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >

Reason

This is due to a missing Maven-resources-plugin-2.3.2.jar file. This file is under {user.home}\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\. {User.home} is the configuration path for MAVEN, usually my document, which is the local Repository inside Window-preferences-myeclipse-maven4myeclipse-user setting.

Solution Solutions

1 Adding the Maven-resources-plugin configuration to the Pom.xml file

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

2 Delete all files ending with lastupdated in repository\org\apache\maven\plugins\maven-resources-plugin\

3 run mvn install from the command line

Or in Eclipse, right-click the project name->maven->update

If the execution is correct, you should see the Maven-resources-plugin-2.3.2.jar file under repository\org\apache\maven\plugins\maven-resources-plugin\

Error: Eclipse loading maven Engineering tip Pom.xml cannot parse org.apache.maven.plugins:maven-resources-plugin:2.3.2

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.