title: IntelliJ can't find Scanner class
body: <p>I am using Intellij IDEA.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>public static void main(String[] args) {
          java.util.Scanner scanner = new java.util.Scanner(System.in);
  
          int a = scanner.nextInt();
          System.out.println(a);
  }
  </code></pre>
  
  <p>The problem is that when I run it, it works. But, Intellij cannot find Scanner class. It is underlining with red color.</p>
  
  <p>How to fix this?</p>