MyEclipse6.5 @Override 时出错误 The method of type must override a superclass method
2013-12-26 15:05
381 查看
@Override 时出错误:
解决办法是:
一、
因为你的Compiler 是jdk1.5,只要把它改为 1.6
方法:
1. window ->preferences... -> java -> Compiler
2. Compiler compliance level : 6.0
二、 把项目的JRE变成6.0的
项目右键->build path->configure build path->java Compiler(左边那排中) ->在右边的Compiler compliance level 修改版本为6.0
解决办法是:
一、
因为你的Compiler 是jdk1.5,只要把它改为 1.6
方法:
1. window ->preferences... -> java -> Compiler
2. Compiler compliance level : 6.0
二、 把项目的JRE变成6.0的
项目右键->build path->configure build path->java Compiler(左边那排中) ->在右边的Compiler compliance level 修改版本为6.0
相关文章推荐
- Java Web编程入门--错误信息“The method getUserById(int) of type UserServiceImpl must override a superclass”
- 解决The method onClick(View) of type new View.OnClickListener(){} must override a superclass错误
- 使用 @Override 出现错误:The method getAll() of type CategoryServiceImpl must override a superclass method
- [Eclipse手册]错误The method xxx of type must override a superclass method
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclass
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclass
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclass
- 导入项目的时候,提示说@override The method of type must override a superclass method解决方式的错误
- 轻松解决 MyEclipse、Eclipse 编译时提示 @Override The method of type must override a superclass method 即 @Overr
- (转)轻松解决 MyEclipse、Eclipse 编译时提示 @Override The method of type must override a superclass method 即 @Override 标注问题
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclass
- 轻松解决 MyEclipse、Eclipse 编译时提示 @Override The method of type must override a superclass method 即 @Overr
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclass
- The method of type must override a superclass method解决方式
- 【The method of type must override a superclass method 解决方式】
- The method of type must override a superclass method解决方式
- The method of type must override a superclass method解决方式
- Java重写父类使用@Override时出现The method destroy() of type xxx must override a superclass method的问题解决
- The method of type must override a superclass method解决方式
- The method of type must override asuperclass? annotation:@Override