Can't save project preferences in Eclipse

后端 未结 5 1080
野的像风
野的像风 2021-01-12 12:49

All I am trying to do is to set the Java compiler for my project as 5.0. It is 1.4 by default. When I try to save by pressing OK button I get the following error.

Pr

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-12 13:29

    Check the project's Properties -> Java Compiler, and make sure the 'Compiler compliance level' is 1.8 or 1.7 instead of 1.4.

    If this still fails to remove the error, deleting the .settings folder certainly works.

提交回复
热议问题