Maven创建项目失败显示 Could not calculate build plan

Errors occurred during the build.

Errors running builder 'Maven Project Builder' on project 'mybatisStudy'.

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

 

解决方法:

 将C:\User\.m2\repository\org\apache\maven\plugins目录下的文件夹删除,重启eclipse,

或者 删除这个文件夹,重新copy一个

 

猜你喜欢

转载自blog.csdn.net/W_litttle/article/details/83819758
今日推荐