当前位置: 移动技术网 > IT编程>开发语言>Java > 关于java编译过程中的bug说明

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

2019年07月22日  | 移动技术网IT编程  | 我要评论

今天组内兄弟提交代码 我更新以后发现编译通过不了
异常信息如下:
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.

 

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网