解决'parent.relativePath' of POM xx(xx) points at xx instead of xx, please verify your project structure

记录我的解决办法:

项目拉下来,加载依赖后,pom.xml的 <project  标签报错出现'parent.relativePath' of POM xx(xx) points at xx instead of xx, please verify your project structure

发现引用的parent标签中没有表明真实路径地址

 

导致每个子模块都找不到父模块。

于是给所有的子模块的parent中都加了

<relativePath/>


项目结构如下:

 

posted @ 2022-07-12 07:21  祝有好收获  阅读(2884)  评论(0)    收藏  举报