Hi, doing a homework assignment in a intro to Java class, some reason the scanner class is giving me problems, I am typing the code as it appears in the text and getting the following error output. I am using vi to do the coding.
thanks for any help in advance.


Temperature.java:1: cannot resolve symbol
symbol : class Scanner
location: package util
import java.util.Scanner;
^
Temperature.java:13: cannot resolve symbol
symbol : class Scanner
location: class Temperature
Scanner scan = new Scanner (System.in);