1、project structure中检查project、module的SDK版本 2、settings里搜 Java compiler,选择问题module的Target bytecode version 3、成功运行