因为对于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 相关文章: 2022-01-16 2021-08-07 2022-01-25 2022-12-23 2021-11-28 2022-12-23 2022-02-02