关于spring-boot-starter-parent报红的解决方法

问题描述

在maven项目中若要导入SpringBoot,父级依赖的spring-boot-starter-parent通常都会出现Project

version>2.6.6</version>报红

解决方法:

File -> Invalidate Caches / Restart... -> Invalidate and Restart就能解决了。

总结:

当然,这相当于把IDEA清除缓存重启了,这只是其中一种方法,也是最简单的.

posted @ 2022-04-20 11:14  wjxuriel  阅读(1125)  评论(0)    收藏  举报