java.lang.RuntimeException: Uncompilable source code - non-static variable bankid cannot be referenced from a static context

Coderanch | A Ka | 3 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

    static variable and reference variable example

    Coderanch | 3 years ago | A Ka
    java.lang.RuntimeException: Uncompilable source code - non-static variable bankid cannot be referenced from a static context

    Root Cause Analysis

    1. java.lang.RuntimeException

      Uncompilable source code - non-static variable bankid cannot be referenced from a static context

      at test.Person.main()
    2. test
      Person.main
      1. test.Person.main(Person.java:23)
      1 frame