zoukankan      html  css  js  c++  java
  • java编译过程中的bug

    今天组内兄弟提交代码 我更新以后发现编译通过不了

    异常信息如下:

    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.

     

  • 相关阅读:
    复习HTML/CSS 3
    复习HTML/CSS2
    复习HTML/CSS1
    HTML/CSS8
    HTML/CSS7
    HTML/CSS6
    9.5Html
    9.4Html
    面向对象
    作用域以及类、实例
  • 原文地址:https://www.cnblogs.com/likehua/p/3079352.html
Copyright © 2011-2022 走看看