1, 一般指的是编译错误,在源文件上可以看到相似的错误标记。 2, 一般是classpath设置的不对,看一下:右键---Build Path---Configure Build Path,当然还可以直接查看.classpath文件了。