Maven之创建项目失败(Could not calculate build plan)-yellowcong

来源:互联网 发布:杭州下沙美工招聘 编辑:程序博客网 时间:2024/05/22 08:02

有时候创建Maven项目失败,肯定就是Maven的插件抽风了,啥也不用说,删除插件,重新创建maven项目就好了

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

这里写图片描述

解决办法,找到maven仓库下载的插件地址,然后删除,重新建立项目
这里写图片描述

新建项目后,重新下载插件,就不会报错啦
这里写图片描述

阅读全文
0 0
原创粉丝点击