解决Java compiler level does not match the version of the installed Java project facet

如图所示:


解决Java compiler level does not match the version of the installed Java project facet_第1张图片

其实要解决也很简单,找到项目所在的目录,在.settings子目录里面,用文本编辑器打开org.eclipse.wst.common.project.facet.core.xml配置文件,如图所示:


解决Java compiler level does not match the version of the installed Java project facet_第2张图片

修改红色画线部分,让它与项目的编译器版本设置保持一致即可。


解决Java compiler level does not match the version of the installed Java project facet_第3张图片

你可能感兴趣的:(解决Java compiler level does not match the version of the installed Java project facet)