I am using IntelliJ IDEA, learning Java. All went well until yesterday, when the mentioned error occurred.
I didn't make any changes. I was looking for the solution the following ways:
- reboot the pc
- restart IntelliJ.
- delete the project directory and use another one (both on desktop)
nothing helps. buy running simple hello world method. It keeps showing this error:
I am not using any addon or
"Marven". it simply stops to work. And normally no import should be needed for println method. This error corrupted all my previous learning projects. So it doesn't seems to be local or connect to any single class.