作者:IKUN | 来源:互联网 | 2023-09-13 17:08
ImusingthelatestJDKandeverywherefromprojectcreationtonoweverythingissettoJava8orS
I'm using the latest JDK and everywhere from project creation to now everything is set to Java8 or SDK 8.
我正在使用最新的JDK,从项目创建到现在,一切都设置为Java8或SDK 8。
Still, intelliJ gives me this issue:
仍然,intelliJ给了我这个问题:
The red lamp tells me to change to Java7.
红灯告诉我改为Java7。
This is my project settings:
这是我的项目设置:
and this is the Modules section:
这是模块部分:
As you can see; I specifically changed it from the SDK default to java 8 when I got the error, but no result.
如你看到的;当我收到错误时,我专门将它从SDK默认更改为java 8,但没有结果。
The compiler settings look like this:
编译器设置如下所示:
I'm on a macbook and the intelliJ is the community version. Does anyone know why this is happening and how I fix it?
我在macbook上,而intelliJ是社区版。有谁知道为什么会这样,以及我如何解决它?
2 个解决方案