Java Problems报错Description Resource Path Location Type Java compiler level does not match the version of the instal

java代码整体没有出现错误,在项目上有一个红叉,打开Problems报错
Description Resource Path Location Type Java compiler level does not match the version of the instal

解决方法

在项目上右键Properties-》Project Facets,在打开的Project Facets页面中的Java下拉列表中,选择相应版本。
有可能是java1.65改成java1.6

你可能感兴趣的:(Java Problems报错Description Resource Path Location Type Java compiler level does not match the version of the instal)