maven新建项目时报

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

这个谷歌一下就出来了 

可以尝试删除maven本地库里面的org.apache.maven.plugins:maven-resources-plugin所在目录,让mavan重新下载这个包就行了。 

I fixed it by deleting all the files under de .m2 repository folder. The next time I built the project I had to download all the dependencies again but it was worth it - 0 errors!! 


http://stackoverflow.com/questions/12533885/could-not-calculate-build-plan-plugin-org-apache-maven-pluginsmaven-resources

见 http://www.iteye.com/problems/96117

版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章:

  • 2021-08-08
  • 2021-09-18
  • 2022-02-25
  • 2022-02-18
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案