java.lang.ClassCastException: MySingletonA

Oracle Community | 843797 | 1 decade 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

    ClassLoaders and Singletons

    Oracle Community | 1 decade ago | 843797
    java.lang.ClassCastException: MySingletonA

    Root Cause Analysis

    1. java.lang.ClassCastException

      MySingletonA

      at CallingClass.main()
    2. Unknown
      CallingClass.main
      1. CallingClass.main(CallingClass.java:9)
      1 frame