Source code Error

tpaul
2009-01-13
2013-05-02
  • tpaul
    tpaul
    2009-01-13

    Hi,
    I have the latest compiere source on my eclipse but it has these errors:
    1. Name clash The method setTypeMap(Map<String,Class<?>>) of type BaseRowSet has the same erasure as setTypeMap(Map) of type RowSet but does not override it    CCachedRowSet.java    compiere-all/ad/src/org/compiere/util    line 34    Java Problem

    2. Name clash: The method setTypeMap(Map<String,Class<?>>) of type BaseRowSet has the same erasure as setTypeMap(Map) of type RowSet but does not override it    CachedRowSetImpl.java    compiere-all/ad/src/org/compiere/util    line 45    Java Problem

    3. The type CachedRowSetImpl must implement the inherited abstract method RowSet.setTypeMap(Map)    CachedRowSetImpl.java    compiere-all/ad/src/org/compiere/util    line 45    Java Problem

    Has anybody got to a clue to what could be wrong and how it could be resolved.
    pls respond asap. tanx

     
    • crimzone
      crimzone
      2009-01-13

      Hello,

      Is your build path 100% right?

      Just check your build path again.

      Kind Regards
      Pete

       
    • tpaul
      tpaul
      2009-01-13

      thanks Pete. i actaully followed d documentation on having d source in eclipse.
      I have just checked d build path, it is fine.
      The classes are not in anyway looking for a missing resource.
      D errors are still there....

       
    • Hamza khanfouf
      Hamza khanfouf
      2009-02-15

      clean project and rebuild.
      verify that the java compiler   on project  is 6.0.