轻松解决 MyEclipse、Eclipse 编译时提示 @Override The method of type must override a superclass method 即 @Overr
来源:互联网 发布:淘宝双十一数据 编辑:程序博客网 时间:2024/06/06 12:57
刚才在把工程从其他地方导入到自己机子的 MyEclipse 下时,出现了 The method of type must override a superclass method ,提示的是实现类必须实现接口的方法。
想了半天,发现没有问题啊,查看 jre 是1.6的,查了一下,好像是 annotation 的问题,实现类里面使用了 @Override 。发现原来的 Java Complier 是1.5的。
只需如下图将 MyEclipse 的 Compiler 由 jdk1.5 改为 1.6或1.7 即可。
转载自 http://xiaogui.org/the-method-of-type-must-override-a-superclass-method.html
0 0
- 轻松解决 MyEclipse、Eclipse 编译时提示 @Override The method of type must override a superclass method 即 @Overr
- override方法时,eclipse提示The method *** of type CourseServiceImpl must override a superclass method
- eclipse:the method of type must override a superclass method
- The method of type must override a superclass method 解决
- eclipse 提示错误The method of type must override a superclass method 的解决办法
- Eclipse: The method of type must override a superclass method解决方式
- 导入项目的时候,提示说@override 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 CourseServiceImpl must override a superclass method
- android The method of type must override a superclass method
- MyEclipse6.5 @Override 时出错误 The method of type must override a superclass method
- the method of type must override a superclass.
- eclipse报错:The method convert(String) of type DateConvertor must override a superclass method;
- [Eclipse手册]错误The method xxx of type must override a superclass method
- The method of type must override a superclass method解决方式
- 解决“The method XXXXXX of type XXXXXXXXX must override a superclass method”
- The method of type must override a superclass method解决方式
- nfs简单使用
- HDC,CDC,CWindowDC,CClientDC,CPaintDC基础
- 从零开始学HTML(六)--HTML 段落
- ATO SOLUTION NAND/MCP/SPI
- Flatten Binary Tree to Linked List
- 轻松解决 MyEclipse、Eclipse 编译时提示 @Override The method of type must override a superclass method 即 @Overr
- 第一章 2. CPaintDC 和 消息映射机制
- LGP970刷机心得
- FZU2169:防守阵地 I
- 错排公式
- memset
- Flip Game
- 第一次解题报告
- hdu 1178 shui