Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by giulius
, 2 years ago
[PersistenceUnit: fb-persistence] Unable to configure EntityManagerFactory
via dolinked.com by Unknown author, 2 years ago
[PersistenceUnit: fb-persistence] Unable to configure EntityManagerFactory
via soso.io by Unknown author, 2 years ago
[PersistenceUnit: fb-persistence] Unable to configure EntityManagerFactory
via Stack Overflow by Kaleb Pederson
, 2 years ago
Unable to configure EntityManagerFactory
via Coderanch by Leonardo Terrao, 1 year ago
[PersistenceUnit: JPA] Unable to configure EntityManagerFactory
java.lang.ClassCastException: org.hibernate.mapping.UnionSubclass cannot be cast to org.hibernate.mapping.RootClass	at org.hibernate.cfg.annotations.PropertyBinder.bind(PropertyBinder.java:209)	at org.hibernate.cfg.annotations.PropertyBinder.makePropertyValueAndBind(PropertyBinder.java:200)	at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:2061)	at org.hibernate.cfg.AnnotationBinder.processIdPropertiesIfNotAlready(AnnotationBinder.java:796)	at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:707)	at org.hibernate.cfg.Configuration$MetadataSourceQueue.processAnnotatedClassesQueue(Configuration.java:4008)	at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3962)	at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1371)	at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1348)	at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1522)	at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:193)	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:1100)	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:282)	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:366)	at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:48)	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:32)	at it.synclab.fb.test.Test.main(Test.java:13)