有时候创建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.4
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.4
解决办法,找到maven仓库下载的插件地址,然后删除,重新建立项目
新建项目后,重新下载插件,就不会报错啦