The method of type must override a superclass method 解决方式

来源:互联网 发布:西安交通大学网络认证 编辑:程序博客网 时间:2024/04/29 20:23
1、今天在更新代码的时候
 
显示这个问题 ,后来一google下,原来是 我的MyEclipse是 编译是5.0修改下为6.0 就ok了
 
 
2、 把项目的JRE变成6.0的
项目右键->build path->configure build path->java Compiler(左边那排中) ->在右边的Compiler compliance level 修改版本为1.6


转自:http://www.2cto.com/kf/201301/186626.html
0 0
原创粉丝点击