如图所示,pom文件爆红,右侧无maven 分析原因:由于读取项目出错,没有正确加载到pom文件造成的 解决办法:打开pom.xml文件,在文件上右键 - >Add as Maven Project 完成