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 Pawel Solarski, 2 years ago
[PersistenceUnit: mysql_hbm] Unable to build Hibernate SessionFactory
via Stack Overflow by Connor Butch
, 6 months ago
[PersistenceUnit: craiglistPU] Unable to build Hibernate SessionFactory
via Stack Overflow by Joshua Taylor
, 2 years ago
[PersistenceUnit: unit] Unable to build Hibernate SessionFactory
via Hibernate JIRA by Luca Domenichini, 2 years ago
[PersistenceUnit: TestPU] Unable to build Hibernate SessionFactory
via Hibernate JIRA by Luca Domenichini, 2 years ago
[PersistenceUnit: TestPU] Unable to build Hibernate SessionFactory
javax.persistence.PersistenceException: [PersistenceUnit: mysql_hbm] Unable to build Hibernate SessionFactory at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.persistenceException(EntityManagerFactoryBuilderImpl.java:961) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:891) at org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:58) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:39) at jpa.JPARunner.<init>(JPARunner.java:18) at jpa.advanced.DerivedIdExample.<init>(DerivedIdExample.java:11) at jpa.advanced.DerivedIdExample.main(DerivedIdExample.java:14) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)Caused by: org.hibernate.MappingException: Composite-id class must implement Serializable: jpa.advanced.EmployeeInfo at org.hibernate.mapping.RootClass.checkCompositeIdentifier(RootClass.java:291) at org.hibernate.mapping.RootClass.validate(RootClass.java:274) at org.hibernate.boot.internal.MetadataImpl.validate(MetadataImpl.java:329) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:482) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:888) ... 11 more