当前位置:主页 > 软件编程 > JAVA代码 >

关于java编译过程中的bug说明

时间:2021-06-16 08:21:53 | 栏目:JAVA代码 | 点击:

今天组内兄弟提交代码 我更新以后发现编译通过不了
异常信息如下:
The method getPOIByName(String) of type POISearchByGeoway must override a superclass method
这玩意儿我之前遇到过,于是想写博客记之,以飨来者!
ok 解决方案如下:
1、右键项目>Build Path>Configure Build Path >> JAVA Compiler  修改Compiler Compliance level  改为1.6 (Override注解在java 1.6才出现)。

2、Windows>Preferences>Java>Complier 修改Compiler Compliance level  改为1.6.

 

您可能感兴趣的文章:

相关文章