Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Ejb3Configuration.configure() has thrown a ClassCastException
    Hibernate JPA Support
    2
    0
    0
  2. Configuration.secondPassCompile() has thrown a ClassCastException
    Hibernate Core
    4
    1
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.ClassCastException: org.hibernate.mapping.UnionSubclass cannot be cast to org.hibernate.mapping.RootClass
12 matching frames hidden
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:282)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:366)

External results for this pattern (2)

  1. giuliusvia Stack Overflow4 months ago
    org.hibernate.mapping.UnionSubclass cannot be cast to org.hibernate.mapping.RootClass
    Show stack trace
  2. Guyutevia Stack Overflow2 years ago
    org.hibernate.mapping.SingleTableSubclass cannot be cast to org.hibernate.mapping.RootClass
    Show stack trace