Maven项目——ego-parent\pom.xml does not exist

个人在进行使用Eclipse进行Maven项目开发过程中,建立父工程ego-parent(pom类型项目),遇到了下列问题,为解决这个问题,个人花费的了很大精力、时间。特此,写本篇博客,希望能够帮助到需要的童鞋。

问题描述: Child module F:\Eclipse-Mar2\poject-test04\ego-parent\ego-common of  F:\Eclipse-Mar2\project-test04\ego-parent\pom.xml does not exist. @

如图片显示:

解决办法:其中,在Eclipse工作空间下的project-test04\ego-parent\文件夹下,pom.xml文件存在。只不过,pom.xml文件中,配置出错。多写了一个标签元素配置,如下所示:

[html] view plain copy

1. <modules>  

2.         <module>ego-common</module>  

3. </modules> 

将这个标签删除、保存后。通过 Project ----> clean操作后,问题得以解决。

 

猜你喜欢

转载自blog.csdn.net/qq_38092788/article/details/79934937