1.File-->Settings 2.输入Java Compiler 3. 在Target bytecode version里修改JDK版本号 来源:https://www.cnblogs.com/xdsuannai/p/11910898.html 标签 error