maven项目出现如下错误,求指点;CoreException: Could not calculate build plan:

这个错误提示:

maven项目出现如下错误,求指点;CoreException: Could not calculate build plan:

 解决办法:

1、在eclipse中找到maven项目下的pom.xml文件打开,并添加下图红框中的内容。

maven项目出现如下错误,求指点;CoreException: Could not calculate build plan:

2、打开dos命令控制台,进入到maven项目的目录(包含有pom.xml文件这一层级),然后选择 maven install 回车后发现maven会自动下载缺失的文件。

maven项目出现如下错误,求指点;CoreException: Could not calculate build plan:

 3、下载完成后,在eclipse中右键maven项目-Maven-Update Project 勾选Force Update of Snapshots/Releases这个选项,点击OK按钮,发现错误已经消失。

maven项目出现如下错误,求指点;CoreException: Could not calculate build plan:

 参考: https://zhidao.baidu.com/question/2074862395046658588.html