方法一:

  1. 关闭IDEA,
  2. 然后删除项目文件夹下的.idea文件夹
  3. 重新用IDEA工具打开项目

方法二:

菜单:File -> Invalidate Caches / Restart

相关文章: