解决办法:Windows->Preferences-->java->Compiler-->compiler compliance level设置成1.6 相关文章: 2022-12-23 2021-10-24 2021-10-02 2021-06-13 2021-06-26 2021-10-26