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

后端 未结 12 1674
不知归路
不知归路 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:04

    I resolved this problem by setting the java version in Project Facet property of the project properties, Right click the project root folder -> Properties, search for Project Facets, and select compatible java version.

    For reference -

提交回复
热议问题