人才啊。。。
具体有什么错误呢?
import java.util.Scanner; Scanner s = new Scanner(System.in); int a = s.nextInt();
可以看一下具体的eclipse的文件创建流程。