java.lang.ClassCastException: b.B2 cannot be cast to a.A

Stack Overflow | DeepParticle | 5 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

    Load Java class with super class from a dynamically loaded jar file

    Stack Overflow | 5 months ago | DeepParticle
    java.lang.ClassCastException: b.B2 cannot be cast to a.A

    Root Cause Analysis

    1. java.lang.ClassCastException

      b.B2 cannot be cast to a.A

      at a.Main.main()
    2. a
      Main.main
      1. a.Main.main(Main.java:22)
      1 frame