1.问题描述

idea工具使用问题之Diamond types are not supported at this language level

2.解决方案

2.1.选中当前的项目

idea工具使用问题之Diamond types are not supported at this language level

2.2. FIle–>Project Structure

idea工具使用问题之Diamond types are not supported at this language level

2.3.选择JDK对应的Language Level版本

idea工具使用问题之Diamond types are not supported at this language level

language -level选择对应的jdk版本即可
idea工具使用问题之Diamond types are not supported at this language level
如下不在报错
idea工具使用问题之Diamond types are not supported at this language level

相关文章:

  • 2021-09-18
  • 2021-04-01
  • 2021-10-15
猜你喜欢
  • 2022-12-23
  • 2021-05-17
  • 2022-01-04
  • 2022-12-23
  • 2021-08-15
  • 2021-12-03
  • 2021-12-13
相关资源
相似解决方案