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

后端 未结 12 1664
不知归路
不知归路 2020-12-07 07:19

I have created a New Dynamic Project under Eclipse Helios Version, where my JRE Version is set to 1.6. I have added Maven capabilities to the Web Application by clicking on

12条回答
  •  时光取名叫无心
    2020-12-07 08:07

    I changed the configuration inside workspace/project/.setting/org.eclipse.wst.common.project.facet.core to :

    installed facet="jst.web" version="2.5"
    installed facet="jst.java" version="1.7"
    

    Before changing config, remove project from IDE. This worked for me.

提交回复
热议问题