eclipse Java compiler level does not match the version of the installed Java project facet.
CreateTime--2018年4月24日10:28:43
Author:Marydon
1.情景再现
2.选中项目-->Properties-->Java Compiler-->最下面,点击"Java Build Path";
或者 选中项目-->右键-->Build Path-->Configure Build Path
3.选中"JRE System Library"-->Edit
4.选择"Alternate JRE",也可以选择"Workspace default JRE"