右键点击项目>Properties>Java Compiler>将Compiler compliance level改为1.8
Eclipse -- The compiler compliance specified is 1.5 but a JRE 1.8 is used
最新推荐文章于 2021-02-19 14:56:40 发布
右键点击项目>Properties>Java Compiler>将Compiler compliance level改为1.8