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.org by Unknown author, 1 year ago
via Hibernate JIRA by Artur Legan, 1 year ago
This exception has no message.
via Hibernate JIRA by Artur Legan, 2 years ago
This exception has no message.
java.lang.ExceptionInInitializerError at util.HibernateUtil.<clinit>(HibernateUtil.java:22) at introducaohibernate01.ProfessorDAO.salvarProfessor(ProfessorDAO.java:17) at introducaohibernate01.Main.main(Main.java:24)Caused by: org.hibernate.MappingException: could not instantiate id generator at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:98) at org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:152) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:192) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:859) at util.HibernateUtil.<clinit>(HibernateUtil.java:18) ... 2 moreCaused by: org.hibernate.MappingException: could not interpret id generator strategy: codigo_seq at org.hibernate.id.IdentifierGeneratorFactory.getIdentifierGeneratorClass(IdentifierGeneratorFactory.java:109) at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:92) ... 7 more