IDEA提示Cannot resolve symbol

原因是某些操作导入index有问题。需要清理重新创建。具体操作方法为

在spring  boot项目中,已经导入了所有需要的包,class文件一直报Cannot resolve symbol 。

解决办法:

  • File->Invalidate Caches/Restart 清除缓存重启 

Leave a Reply

Your email address will not be published. Required fields are marked *

lWoHvYe 无悔,专一