参考:https://www.cnblogs.com/qq1445496485/p/16401088.html 报错: 解决: cmd窗口切换到项目根目录,执行命令:mvn idea:idea 进行重构。idea关掉重新打开即可。