java.lang.Error: Unresolved compilation problem: The method format(Date) in the type DateFormat is not applicable for the arguments (long)

GitHub | PraveenkumarDonga | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 7#251098663

    GitHub | 7 months ago | PraveenkumarDonga
    java.lang.Error: Unresolved compilation problem: The method format(Date) in the type DateFormat is not applicable for the arguments (long)

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problem: The method format(Date) in the type DateFormat is not applicable for the arguments (long)

      at info.ephyra.io.MsgPrinter.getTimestamp()
    2. info.ephyra.io
      MsgPrinter.printInitializing
      1. info.ephyra.io.MsgPrinter.getTimestamp(MsgPrinter.java:421)
      2. info.ephyra.io.MsgPrinter.printInitializing(MsgPrinter.java:107)
      2 frames
    3. info.ephyra
      OpenEphyra.main
      1. info.ephyra.OpenEphyra.<init>(OpenEphyra.java:131)
      2. info.ephyra.OpenEphyra.<init>(OpenEphyra.java:102)
      3. info.ephyra.OpenEphyra.main(OpenEphyra.java:88)
      3 frames