重新加载一下maven依赖,不行的话试一下情况一下idea缓存,重新启动
![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/713980633256191.png "#left刷新下如果成功,望点下采纳