java.lang.IllegalAccessError: tried to access method Client.<init>(I)V from class Client$Builder

groovy-notifications | Shil Sinha (JIRA) | 1 year 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

    [jira] [Commented] (GROOVY-6468) Unable to call private method/constructor from static inner class with @CompileStatic

    groovy-notifications | 1 year ago | Shil Sinha (JIRA)
    java.lang.IllegalAccessError: tried to access method Client.<init>(I)V from class Client$Builder

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access method Client.<init>(I)V from class Client$Builder

      at Client$Builder.build()
    2. Unknown
      test1.run
      1. Client$Builder.build(test1.groovy:7)
      2. Client$Builder$build.call(Unknown Source)
      3. test1.run(test1.groovy:17)
      3 frames