ITeye博客

@Override gives error in eclipse?

helpbs · 2011-12-28 15:44 · Markdown

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.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。