IntelliJ System.out.println() - Cannot resolve method println(java.lang.String)
<p>I am using IntelliJ IDEA, learning Java. All went well until yesterday, when the mentioned error occurred.</p>

<p>I didn't make any changes. I was looking for the solution the following ways:</p>

<ol>
<li>reboot the pc</li>
<li>restart IntelliJ.</li>
<li>delete the project directory and use another one (both on desktop) </li>
</ol>

<p>nothing helps. buy running simple hello world method. It keeps showing this error:</p>

<p><a href="https://i.stack.imgur.com/yyvkp.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/yyvkp.jpg" alt="screenshot"></a></p>

<p>Is there someone able to help me?</p>