Maven problems

1. Eclipse loads the maven project and reveals that pom.xml cannot resolve org.apache.maven.plugins:maven-resources-plugin:2.4.3 solution

 

http://www.myexception.cn/apache/1012680.Solution _

1. Add 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. Run it on the command line mvn install  . If executed correctly, you should see maven-resources-plugin-2.4 under {user.home}\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\. 3.jar file

 

3. Refresh the project (right-click the project and select the refresh item)

4. Refresh the maven configuration, right-click the project node, and select Maven4MyEclipse-Update Project Configuration

Guess you like

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