maven project标签标红 提示please verify your project structure

在parent标签添加

<relativePath />

例如:

<parent>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-parent</artifactId>
   <version>2.6.6</version>
   <relativePath />
</parent>

猜你喜欢

转载自blog.csdn.net/leonnew/article/details/128733496