java.lang.Error: Unresolved compilation problems: The method printASetOfLotteryResults() is undefined for the type LotteryDrawing Syntax error on token "void", @ expected printASetOfLotteryResults cannot be resolved to a type Syntax error, insert "enum Identifier" to complete EnumHeaderName Syntax error, insert "EnumBody" to complete BlockStatement

Coderanch | Rebecca Plumb | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Lottery Generator Error

    Coderanch | 9 years ago | Rebecca Plumb
    java.lang.Error: Unresolved compilation problems: The method printASetOfLotteryResults() is undefined for the type LotteryDrawing Syntax error on token "void", @ expected printASetOfLotteryResults cannot be resolved to a type Syntax error, insert "enum Identifier" to complete EnumHeaderName Syntax error, insert "EnumBody" to complete BlockStatement

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problems: The method printASetOfLotteryResults() is undefined for the type LotteryDrawing Syntax error on token "void", @ expected printASetOfLotteryResults cannot be resolved to a type Syntax error, insert "enum Identifier" to complete EnumHeaderName Syntax error, insert "EnumBody" to complete BlockStatement

      at LotteryDrawing.main()
    2. Unknown
      LotteryDrawing.main
      1. LotteryDrawing.main(LotteryDrawing.java:8)[/B]
      1 frame