'parent.relativePath' of POM ###(包名):exmple:0.0.1-SNAPSHOT (D:\javastudy\springboot+mybatis+SpringSecurity\pom.xml) points at org.example:ssm整合 instead of org.springframework.boot:spring-boot-starter-parent, please verify your project structure
这个错报的我在网上找了半天,终于解决
xxx的parent里写的并不是xxx的上一级,而是继承了springboot:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.5</version>
</parent>
在后面再加上,<relativePath />问题就解决了
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.5</version>
<relativePath />
</parent>