java.lang.NoSuchMethodError: org.hibernate.ejb.EntityManagerFactoryImpl.<init>(Lorg/hibernate/SessionFactory;Ljavax/persistence/spi/PersistenceUnitTransactionType;Z)V

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 prabhu raman, 1 year ago
org.hibernate.ejb.EntityManagerFactoryImpl.<init>(Lorg/hibernate/SessionFactory;Ljavax/persistence/spi/PersistenceUnitTransactionType;Z)V
via Hibernate JIRA by prabhu raman, 1 year ago
org.hibernate.ejb.EntityManagerFactoryImpl.<init>(Lorg/hibernate/SessionFactory;Ljavax/persistence/spi/PersistenceUnitTransactionType;Z)V
java.lang.NoSuchMethodError: org.hibernate.ejb.EntityManagerFactoryImpl.<init>(Lorg/hibernate/SessionFactory;Ljavax/persistence/spi/PersistenceUnitTransactionType;Z)V
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:522)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:650)
at org.hibernate.ejb.test.TestCase.setUp(TestCase.java:37)
at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Users with the same issue

You are the first who have seen this exception.

Write tip

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