博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
maven新建项目报错
阅读量:5278 次
发布时间:2019-06-14

本文共 1226 字,大约阅读时间需要 4 分钟。

创建了一个maven项目,报错

Errors occurred during the build.Errors running builder 'Maven Project Builder' on project 'BCPS'.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.6Plugin 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.6Could 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.6Plugin 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

解决方案:

删除maven本地库里面的org.apache.maven.plugins:maven-resources-plugin所在文件夹.m2\repository\org\apache\maven\plugins\maven-resources-plugin目录下的2.6即可,让maven重新下载这个包就行了

若其他报类似错误,处理方式同,删除相应的文件夹即可

转载于:https://www.cnblogs.com/fengxm/p/7264104.html

你可能感兴趣的文章
React Native & react-native-web-player & React Native for Web
查看>>
node.js & fs & file read & file write
查看>>
ES6扩展运算符(三点运算符)...的用法
查看>>
利用maven 下依赖包
查看>>
POJ 3616 Milking Time
查看>>
Cocos2d-x ios 下http请求的另一种实现
查看>>
【JEMTER】后置处理器JSON Path Extractor获取server端返回的json中某项值
查看>>
Server.MapPath()
查看>>
LeetCode(13):罗马数字转整数
查看>>
chrome 开发者工具 paused in debugger
查看>>
Javascript中的类实现
查看>>
Swift 的类、结构体、枚举等的构造过程Initialization(下)
查看>>
温故而知新--JavaScript书摘(三)
查看>>
LeaFlet中切片图层使用自定义坐标系
查看>>
docker安装升级linux内核(2.6.32->3.12.17)
查看>>
JavaScript原型链memo
查看>>
springboot 中使用事务
查看>>
jquery 获取table当前行值
查看>>
Linux网络配置之虚拟网卡的配置(ubuntu 16.04)
查看>>
django之允许外部机器访问
查看>>