- 时间:2021-08-25 23:48 编辑: 来源: 阅读:
- 扫一扫,手机访问
摘要:关于java编译过程中的bug说明
今天组内兄弟提交代码 我更新以后发现编译通过不了
[b]异常信息如下:
[/b]The method getPOIByName(String) of type POISearchByGeoway must override a superclass method
这玩意儿我之前遇到过,于是想写博客记之,以飨来者!
[b]ok 解决方案如下:
[/b]1、右键项目>Build Path>Configure Build Path >> JAVA Compiler 修改Compiler Compliance level 改为1.6 (Override注解在java 1.6才出现)。
[img]http://files.jb51.net/file_images/article/201305/2013051517571411.jpg[/img]
2、Windows>Preferences>Java>Complier 修改Compiler Compliance level 改为1.6.
[img]http://files.jb51.net/file_images/article/201305/2013051517571412.jpg[/img]