错误信息: java compiler level does not match the version of the installed java project facet. 问题: 编译器版本和Java项目的版本不匹配。
解决方法: 右键项目“Properties”,在弹出的“Properties”窗口左侧,单击“Project Facets”,打开“Project Facets”页面。
在页面中的“Java”下拉列表中,选择相应版本就OK了