Maven:新建项目时出现 Could not calculate build plan:plugin 错误解决办法

Maven:新建项目时出现 Could not calculate build plan:plugin 错误解决办法

刚刚学习了下Maven的项目构建,在建完父工程后,再新建工程后出现了Could not calculate build plan:plugin 的错误。

然后查找了解决方法,下面记录一下:

Mac下打开yourname\.m2\ repository\org\apache\maven\plugins\maven-deploy-plugin 

(mac下显示隐藏文件的方法:shift + command + . )

然后把里面的文件夹删掉(我的是这个  删掉2.7这个文件夹)

然后右击项目-maven-update project 强制更新即可,注意勾中红圈

猜你喜欢

转载自blog.csdn.net/caizongxu/article/details/82865463