eclipse工程报错

工程导入eclipse中老有报错,经过各种折腾发现是java的原工程默认编译版本与eclipse环境下的编译版本不同。在工程根目录的.setting目录下的org.eclipse.wst.common.project.facet.core.prefs.xml文件中
enter description here
原文件为:
enter description here

修改为
enter description here
并且修改工程的编译版本
enter description here
统一使用JRE1.7版本

文章目录