org.hibernate.MappingException: could not instantiate id generator

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 Matt Read, 1 year ago
could not instantiate id generator
via Hibernate JIRA by Matt Read, 1 year ago
could not instantiate id generator
via Coderanch by naveen yadav, 1 year ago
could not instantiate id generator
via coderanch.com by Unknown author, 1 year ago
via Coderanch by naveen yadav, 1 year ago
could not instantiate id generator
via coderanch.com by Unknown author, 1 year ago
org.hibernate.MappingException: could not interpret id generator strategy: IDENTITY
at org.hibernate.id.IdentifierGeneratorFactory.getIdentifierGeneratorClass(IdentifierGeneratorFactory.java:108)
at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:91)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:181)
at com.catlin.architecture.dao.hibernate.HibernateUtil.(HibernateUtil.java:80)
at com.catlin.insuranceledger.JournalTest.setUp(JournalTest.java:38)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)

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.