eclipse中切换jre后报错:Java compiler level does not match the version of the installed Java project facet.
项目移除原来的jre环境lib后,添加本地的jre,报错如下:
Java compiler level does not match the version of the installed Java project facet.
问题就出在切换了java版本上:
在项目的properties中,myeclipse->project facets->java version改成1.7
即可。