Eclipse creates a Maven project and prompts that maven-resources-plugin:2.6 is missing

When developing a maven project with Eclipse IDE for Java EE Developers , the error Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of is reported; solution:

1. View the location of .m2 in the settings.xml file of windows -> Preferences -> maven

2. Then delete all the folders in the .m2/repository/org/apache/maven/plugins directory

3. Select the maven project, right click--"maven--"update to let maven re-download the dependency package

problem solved

[Note] This IDE comes with a maven plug-in, so you don’t need to download and install the maven plug-in yourself

Guess you like

Origin blog.csdn.net/huanglgln/article/details/50813632