我的java天地

Remove @Override annotation错误提示

因为对于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
@import url(http://www.blogjava.net/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);

posted on 2012-01-09 16:49 tobyxiong 阅读(2109) 评论(0)  编辑  收藏 所属分类: java


只有注册用户登录后才能发表评论。


网站导航:
 
<2012年1月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
2930311234

导航

统计

常用链接

留言簿(3)

随笔分类(144)

随笔档案(157)

相册

最新随笔

搜索

积分与排名

最新评论

阅读排行榜

评论排行榜