项目里很多import导入的类出现红色波浪线,提示the import  xxx  cannot be resolved

这是因为检出的项目使用的jdk与本地jdk不一致的导致的。

解决步骤:

右击项目名---buildpath--configure build path-----Libraries---remove--add Library--JRE system  Library --next----选择Execution Environment(保持与workspace一致即可)

the import xxx cannot be resolved


the import xxx cannot be resolved

相关文章:

  • 2022-12-23
  • 2021-09-10
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2021-05-06
猜你喜欢
  • 2021-10-28
  • 2021-12-16
  • 2021-08-10
  • 2021-07-02
  • 2021-11-24
  • 2021-08-27
  • 2021-11-14
相关资源
相似解决方案