这是我得到异常在线程“主要” java.lang.Error的:未解决的编译问题:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Scanner cannot be resolved to a type
Scanner cannot be resolved to a type
at hello.main(hello.java:11)
这是我的代码错误。像import java.util.Scanner;
http://docs.oracle.com/javase/tutorial/java/package/usepkgs.html –