zl程序教程

您现在的位置是:首页 >  后端

当前栏目

could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of(maven报错)

MavenApache 报错 not of or org could
2023-09-11 14:18:57 时间
could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of

解决方法:

首先要确保eclipse中maven的配置正确! 
找到自己的maven仓库所在的位置,例如我的:

C:\Users\liugen.xu.m2\repository\org\apache\maven\plugins

找到repository\org\apache\maven\plugins这个目录,然后删除plugins目录下的所有文件,让下次软件打开的时候重新下载文件.

然后项目可能还会有红色的叉叉,然后点击项目右键—–>Maven—Update Project ,然后就会更新整个项目,基本就可以解决问题。