本文主要是介绍创建Maven项目时 Coud not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.7,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
今天用Maven新建项目时,突然报了这么一个错:Could not calculate build plan:Plugin org.apache.maven.plugins:maven-resources-plugin:2.7 or one of its dependencies could not be resolved:Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-pluginjar:2.7
把我搞到心态爆炸,各种更改配置文件,删目录就是不行。最后发现就是它报错的那一行提示原因,jar包缺少。解决方法就是找到maven的本地仓库。org\apache\maven\plugins\maven-resources-plugin\2.7,这个目录下的jar包不完整,删除根目录重新下载就行了。
这篇关于创建Maven项目时 Coud not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.7的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!