因为对于JDK5.0/1.5版本来说,@Override annotation只能用与对超类的方法重写上, 而不能用在对接口方法的实现方法上。 解决的方法是把JDK改为1.6的或动手把注释@Override去掉。 You probably need to set the compiler compliance level in eclipse. This can be found in Window->Preferences->Java->Compiler