Why so red? IntelliJ seems to think every declaration/method cannot be found/resolved

前端 未结 28 1546
予麋鹿
予麋鹿 2020-12-12 11:22

I just installed and re-installed IntelliJ. Every Java file is coming up RED. I checked the JDK; it is at 1.6.##. The maven clean install build worked just fine

28条回答
  •  难免孤独
    2020-12-12 11:51

    I had the same issue I was using JDK 1.9 with IntelliJ 14, I solved reinstalling Java with latest version of JDK 1.8(1.8.0_161 in this case)

    I also removed the 1.9 version from

    HKEY_CURRENT_USER\Software\JavaSoft\JRE\Security Baseline

提交回复
热议问题