0
点赞
收藏
分享

微信扫一扫

解决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:

在资源管理器下,找到项目所在的目录,在.settings子目录里面,用记事本开org.eclipse.wst.common.project.facet.core.xml配置文件,

解决java compiler level does not match the version of the installed java project facet_版本号

找到<installed facet="java" version="版本号" />这一行,修改"版本号",

解决java compiler level does not match the version of the installed java project facet_java_02

让它与项目的编译器版本设置保持一致即可。(要查看项目的编译器版本设置,在Eclipse环境中,鼠标右键选择项目,点击属性,选择Java编译器,可以在窗口右边看到编译器版本了)。

解决java compiler level does not match the version of the installed java project facet_版本号_03

举报

相关推荐

0 条评论