You're getting the error because you're using Java 1.5 which does not support @Override annotations for implementation overrides. Go into the Eclipse settings and set the language level to 1.6.
EDIT - to change the language level go To Project > Properties > Java Compiler and set the language level there. You may need to click to enable project specific settings.

本文解决了一个在使用Java1.5时遇到的问题,即@Override注解不被支持的情况。通过调整Eclipse项目的Java编译器设置,将语言级别从1.5升级到1.6来解决此问题。
1万+

被折叠的 条评论
为什么被折叠?



