Diamond types are not supported at language level '5' 报出如下错误:说明该项目选择的语言水平太低,不支持水平5的。 查看该项目的语言水平版本: 我们将其修改为8: