所在位置:首页 → 异常解决 → Eclipse异常问题:The compiler compliance specified is 1.5 but a JRE 17 is used

Eclipse异常问题:The compiler compliance specified is 1.5 but a JRE 17 is used

发布: 更新时间:2022-10-19 14:22:26

解决:这个问题其实就是配置的jre和本地的jre版本不同,故将这个版本统一就可以解决了

右键点击项目>Properties>Java Compiler>将Compiler compliance level改为17

标签:
文章排行