javax.persistence.PersistenceException: [PersistenceUnit: GHXPU] Unable to build EntityManagerFactory

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Hibernate JIRA by Martin Braure de Calignon, 1 year ago
[PersistenceUnit: GHXPU] Unable to build EntityManagerFactory
via Hibernate JIRA by Martin Braure de Calignon, 1 year ago
[PersistenceUnit: GHXPU] Unable to build EntityManagerFactory
via Stack Overflow by Gustavo Concon
, 2 years ago
[PersistenceUnit: myJpaUnit] Unable to build EntityManagerFactory
via Oracle Community by user10112541, 1 year ago
[PersistenceUnit: XYZEntity] Unable to build EntityManagerFactory
via Stack Overflow by Gert
, 2 years ago
[PersistenceUnit: core_rw_pu_hibernate] Unable to build EntityManagerFactory
via Stack Overflow by Francesco
, 2 years ago
[PersistenceUnit: cmnPersistenceUnit] Unable to build EntityManagerFactory
javax.persistence.PersistenceException: [PersistenceUnit: GHXPU] Unable to build EntityManagerFactory
at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1272)
at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:155)
at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:500)
at org.hibernate.ejb.EntityManagerFactoryImpl.(EntityManagerFactoryImpl.java:94)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:268)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.