Exception information:
'parent.relativePath' of POM io.renren:renren-fast:3.0.0 (C:\self_project\谷粒商城\project\gulimail\renren-fast\pom.xml)
points at com.atguigu.gulimall:gulimall instead of org.springframework.boot:spring-boot-starter-parent, please verify your project structure
problem causes:
Directly drag a SpringBoot project file into the total project, and add the project's pom in the modules of the outermost pom.
Because what is written in parent is not the upper level of xxx, but inherits springboot:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.8.RELEASE</version>
</parent>
solution:
Plus:
<relativePath/>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.8.RELEASE</version>
<relativePath/>
</parent>