异常如下:
这是由于JDK版本设置为了1.7,但是语言级别还是8:
如果是Maven项目还要注意设置version:
我这个还是Spring Boot项目,还要注意Spring Boot的版本。
参考资料:
https://zhidao.baidu.com/question/618566024710644452.html
微信扫一扫
异常如下:
这是由于JDK版本设置为了1.7,但是语言级别还是8:
如果是Maven项目还要注意设置version:
我这个还是Spring Boot项目,还要注意Spring Boot的版本。
参考资料:
https://zhidao.baidu.com/question/618566024710644452.html
相关推荐