错误信息如下:
Description Resource Path Location Type
Java compiler level does not match the version of the installed Java project facet. new-restDemo
Unknown Faceted Project Problem (Java Version Mismatch)
解决方案:
项目-->属性-->Project Facets -->Java-->Version 1.7
我的问题是导入项目时出现该问题,开发jdk版本 1.7,
报错是因为这里显示的是1.6,调整为1.7就可以
根据自己情况选择合适的版本