使用API​​记录为@ since1.6 +

Oge*_*Gee 23 import intellij-idea

即使我有一个1.6+版本(我有1.8),我仍然会收到错误,我正在使用IntelliJ.

PS我试过更新两者,java jre和java jdk,没有帮助!

小智 53

File> Project Structure> Project Settings> Modules> your Module name> Sources> Language Level>选择您需要的一个.

在此输入图像描述