Right click on the project>Properties>Java Compiler>Change Compiler compliance level to 1.8
Eclipse -- The compiler compliance specified is 1.5 but a JRE 1.8 is used
Guess you like
Origin blog.csdn.net/weixin_44556968/article/details/109781978
Recommended
Ranking