79650725

Date: 2025-06-03 06:33:59
Score: 1.5
Natty:
Report link

I was using the Intellij for the first time and this error spilled up.
On File > Project Structure, under Project, the projectSDK had JDK21
Still got this error

I did 2 things
Under File > Invalidate Cache, Invalidate and restart
Then used "Add JDK from Disk" option to load the JDK from JavaVirtualMachines/jdk-21.jdk/Contens/Home

It works

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tanay Gada