按下列步骤操作: 关闭IDEA, 2.然后删除项目文件夹下的.idea文件夹 3.重新用IDEA工具打开项目 Open… 来自于https://blog.csdn.net/weixin_41045798/article/details/80201818 有效果!