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 Hibernate JIRA by Rino Heinen, 1 year ago
[PersistenceUnit: TestAuditPU] Unable to build EntityManagerFactory
via Hibernate JIRA by Rino Heinen, 2 years ago
[PersistenceUnit: TestAuditPU] Unable to build EntityManagerFactory
via Stack Overflow by damirah
, 2 years ago
[PersistenceUnit: PISProjektPU] Unable to build EntityManagerFactory
org.hibernate.MappingException: Type not supported: org.hibernate.type.ManyToOneType	at org.hibernate.envers.configuration.metadata.IdMetadataGenerator.addIdProperties(IdMetadataGenerator.java:75)	at org.hibernate.envers.configuration.metadata.IdMetadataGenerator.addId(IdMetadataGenerator.java:120)	at org.hibernate.envers.configuration.metadata.AuditMetadataGenerator.generateFirstPass(AuditMetadataGenerator.java:374)	at org.hibernate.envers.configuration.EntitiesConfigurator.configure(EntitiesConfigurator.java:100)	at org.hibernate.envers.configuration.AuditConfiguration.(AuditConfiguration.java:86)	at org.hibernate.envers.configuration.AuditConfiguration.getFor(AuditConfiguration.java:99)	at org.hibernate.envers.event.AuditEventListener.initialize(AuditEventListener.java:334)	at org.hibernate.event.EventListeners$1.processListener(EventListeners.java:198)	at org.hibernate.event.EventListeners.processListeners(EventListeners.java:181)	at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:194)	at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1396)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)	at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:891)	at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:57)	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:48)	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:32)	at testaudit.Main.main(Main.java:23)