Description Resource Path Location Type Java compiler level does not match the version of


project 编译问题,须要三处的jdk版本号要保持一致。才干编译通过。


1、在项目上右键properties->project Facets->改动右側的version  保持一致(图解)Description Resource Path Location Type Java compiler level does not match the version of



2、window->preferences->java->Compiler->设置右側的Compiler compliance level

(图解)Description Resource Path Location Type Java compiler level does not match the version of


3、window->preferences->java->Installed JREs->设置或者选择右側的Installed JREs

(图解)Description Resource Path Location Type Java compiler level does not match the version of


以上三处的jdk版本号要保持一致,才干编译通过


另外,一般新导入的project须要设置编码格式,例如以下图:

(图解)Description Resource Path Location Type Java compiler level does not match the version of




相关文章:

  • 2022-01-08
  • 2021-09-13
  • 2021-08-04
  • 2021-10-26
  • 2021-06-08
  • 2021-07-22
  • 2021-07-06
  • 2021-05-10
猜你喜欢
  • 2021-11-12
  • 2021-08-31
  • 2021-06-03
  • 2021-06-26
  • 2021-06-16
  • 2021-06-17
  • 2022-12-23
相关资源
相似解决方案