Maven 的Could not calculate build plan错误解决方法

(解决方法是参考http://www.iteye.com/problems/96117 中wlfdyq 用户的答案)

[html] view plain copy
  1. <strong><span style="font-size:14px;">Maven 的Could not calculate build plan错误:</span></strong>  

今天打开电脑,莫名看到了这样一个错误


通过Could not calculate build plan的详细内容知道了是maven的错误后,百度了解决方法

得知是因为我将电脑中的.m2\repository文件夹和我从其他电脑复制来的.m2\repository文件夹合并后导致的,这种错误的可能性很多,我学的很少,我只知道如果大家和我一样都是因为把其他电脑的.m2\repository文件夹复制到个人电脑中的话,可以用我百度到的方法解决

解决方法:

通过将 .m2\repository\org\apache\maven\plugins 文件夹下的文件夹全部删除就可以了(这些文件夹格式都是*-plugin或*-plugins



猜你喜欢

转载自blog.csdn.net/kaola_l/article/details/79949828
今日推荐