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

前端 未结 28 1462
予麋鹿
予麋鹿 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:47

    For 2020.1.4 Ultimate edition, I had to do the following

    View -> Maven -> Generate Sources and Update Folders For all Projects

    The issue for me was the libraries were not getting populated with mvn -U clean install from the terminal.

提交回复
热议问题