»»

org.hibernate.cfg errorsHibernate Core

Top patterns

  1. Config file not found in classpath
    No solution
  2. HQL syntax error

    Named query in HQL has syntax error, failing to convert to SQL.

    Tip : While writing HQL queries or named queries use java class names and properties as it is.

  3. Missing hibernate annotation dependency
    No solution
Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Config file not found in classpath

org.hibernate.MappingNotFoundException
org.hibernate.cfg.Configuration.addResource
53Web pages
MappingNotFoundExceptionConfiguration.addResource53

HQL syntax error

org.hibernate.HibernateException
1 frames hidden
org.hibernate.cfg.Configuration.buildSessionFactory
37Web pages
1Solution
HibernateExceptionConfiguration.buildSessionFactory37

Missing hibernate annotation dependency

org.hibernate.MappingException
1 frames hidden
org.hibernate.cfg.Configuration.parseSessionFactory
36Web pages
MappingExceptionConfiguration.parseSessionFactory36

Missing mapping for foreign key

org.hibernate.MappingException
org.hibernate.cfg.Configuration.secondPassCompileForeignKeys
33Web pages
1Solution
MappingExceptionConfiguration.secondPassCompileForeignKeys33

Missing @Id annotation on entity

org.hibernate.AnnotationException
org.hibernate.cfg.InheritanceState.determineDefaultAccessType
32Web pages
AnnotationExceptionInheritanceState.determineDefaultAccessType32

ToOneFkSecondPass.doSecondPass() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.ToOneFkSecondPass.doSecondPass
24Web pages
AnnotationExceptionToOneFkSecondPass.doSecondPass24

Configuration.validateSchema() has thrown a HibernateException

org.hibernate.HibernateException
org.hibernate.cfg.Configuration.validateSchema
22Web pages
HibernateExceptionConfiguration.validateSchema22

HbmBinder.bindCollectionSecondPass() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.HbmBinder.bindCollectionSecondPass
20Web pages
MappingExceptionHbmBinder.bindCollectionSecondPass20

AnnotationBinder.processElementAnnotations() has thrown an AnnotationException

org.hibernate.AnnotationException
1 frames hidden
org.hibernate.cfg.AnnotationBinder.processElementAnnotations
19Web pages
AnnotationExceptionAnnotationBinder.processElementAnnotations19

AnnotationBinder.processElementAnnotations() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
org.hibernate.cfg.AnnotationBinder.processElementAnnotations
19Web pages
NoSuchMethodErrorAnnotationBinder.processElementAnnotations19

Configuration$MappingsImpl.addClass() has thrown a DuplicateMappingException

org.hibernate.DuplicateMappingException
org.hibernate.cfg.Configuration$MappingsImpl.addClass
18Web pages
DuplicateMappingExceptionConfiguration$MappingsImpl.addClass18

Configuration.<clinit>() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
org.hibernate.cfg.Configuration.<clinit>
17Web pages
NoClassDefFoundErrorConfiguration.<clinit>17

OneToOneSecondPass.doSecondPass() has thrown a NullPointerException

java.lang.NullPointerException
org.hibernate.cfg.OneToOneSecondPass.doSecondPass
17Web pages
NullPointerExceptionOneToOneSecondPass.doSecondPass17

Configuration.doConfigure() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.Configuration.doConfigure
17Web pages
MappingExceptionConfiguration.doConfigure17

SettingsFactory.buildSettings() has thrown a NullPointerException

java.lang.NullPointerException
org.hibernate.cfg.SettingsFactory.buildSettings
17Web pages
NullPointerExceptionSettingsFactory.buildSettings17

AnnotationBinder.bindManyToOne() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
org.hibernate.cfg.AnnotationBinder.bindManyToOne
15Web pages
NoSuchMethodErrorAnnotationBinder.bindManyToOne15

Configuration.addResource() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.Configuration.addResource
15Web pages
MappingExceptionConfiguration.addResource15

Ejb3JoinColumn.checkReferencedColumnsType() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.Ejb3JoinColumn.checkReferencedColumnsType
15Web pages
MappingExceptionEjb3JoinColumn.checkReferencedColumnsType15

Configuration.doConfigure() has thrown a HibernateException

org.hibernate.HibernateException
org.hibernate.cfg.Configuration.doConfigure
14Web pages
HibernateExceptionConfiguration.doConfigure14

AnnotationBinder.bindClass() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.AnnotationBinder.bindClass
13Web pages
AnnotationExceptionAnnotationBinder.bindClass13

SettingsFactory.buildSettings() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.cfg.SettingsFactory.buildSettings
13Web pages
HibernateExceptionSettingsFactory.buildSettings13

AnnotationBinder.processElementAnnotations() has thrown a ClassCastException

java.lang.ClassCastException
2 frames hidden
org.hibernate.cfg.AnnotationBinder.processElementAnnotations
13Web pages
ClassCastExceptionAnnotationBinder.processElementAnnotations13

OneToOneSecondPass.doSecondPass() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.OneToOneSecondPass.doSecondPass
13Web pages
AnnotationExceptionOneToOneSecondPass.doSecondPass13

SettingsFactory.buildSettings() has thrown an IllegalStateException

java.lang.IllegalStateException
3 frames hidden
org.hibernate.cfg.SettingsFactory.buildSettings
12Web pages
IllegalStateExceptionSettingsFactory.buildSettings12

Ejb3Column.getTable() has thrown an AnnotationException

org.hibernate.AnnotationException
1 frames hidden
org.hibernate.cfg.Ejb3Column.getTable
11Web pages
AnnotationExceptionEjb3Column.getTable11

HbmBinder.bindRootPersistentClassCommonValues() has thrown a DuplicateMappingException

org.hibernate.DuplicateMappingException
3 frames hidden
org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues
11Web pages
DuplicateMappingExceptionHbmBinder.bindRootPersistentClassCommonValues11

Configuration.configure() has thrown a HibernateException

org.hibernate.HibernateException
1 frames hidden
org.hibernate.cfg.Configuration.configure
10Web pages
HibernateExceptionConfiguration.configure10

Configuration.<init>() has thrown a NoSuchFieldError

java.lang.NoSuchFieldError
3 frames hidden
org.hibernate.cfg.Configuration.<init>
10Web pages
NoSuchFieldErrorConfiguration.<init>10

ExtendedMappings.<init>() has thrown an IllegalAccessError

java.lang.IllegalAccessError
org.hibernate.cfg.ExtendedMappings.<init>
8Web pages
IllegalAccessErrorExtendedMappings.<init>8

Configuration.configure() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
org.hibernate.cfg.Configuration.configure
8Web pages
NullPointerExceptionConfiguration.configure8

SettingsFactory.buildSettings() has thrown a HibernateException

org.hibernate.HibernateException
3 frames hidden
org.hibernate.cfg.SettingsFactory.buildSettings
8Web pages
HibernateExceptionSettingsFactory.buildSettings8

Mappings.addClass() has thrown a DuplicateMappingException

org.hibernate.DuplicateMappingException
org.hibernate.cfg.Mappings.addClass
7Web pages
DuplicateMappingExceptionMappings.addClass7

BinderHelper.makeIdGenerator() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.BinderHelper.makeIdGenerator
7Web pages
AnnotationExceptionBinderHelper.makeIdGenerator7

AnnotationBinder.bindClass() has thrown an AnnotationException

org.hibernate.AnnotationException
1 frames hidden
org.hibernate.cfg.AnnotationBinder.bindClass
6Web pages
AnnotationExceptionAnnotationBinder.bindClass6

Configuration.buildSessionFactory() has thrown an AbstractMethodError

java.lang.AbstractMethodError
5 frames hidden
org.hibernate.cfg.Configuration.buildSessionFactory
6Web pages
AbstractMethodErrorConfiguration.buildSessionFactory6

BinderHelper.createSyntheticPropertyReference() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.BinderHelper.createSyntheticPropertyReference
6Web pages
AnnotationExceptionBinderHelper.createSyntheticPropertyReference6

Configuration.buildSessionFactory() has thrown a HibernateException

org.hibernate.HibernateException
org.hibernate.cfg.Configuration.buildSessionFactory
6Web pages
HibernateExceptionConfiguration.buildSessionFactory6

AnnotationBinder.bindId() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.AnnotationBinder.bindId
6Web pages
AnnotationExceptionAnnotationBinder.bindId6

AnnotationConfiguration.createExtendedMappings() has thrown a NoSuchFieldError

java.lang.NoSuchFieldError
org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings
6Web pages
NoSuchFieldErrorAnnotationConfiguration.createExtendedMappings6

Configuration.addClass() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.Configuration.addClass
5Web pages
MappingExceptionConfiguration.addClass5

SettingsFactory.buildSettings() has thrown an AbstractMethodError

java.lang.AbstractMethodError
org.hibernate.cfg.SettingsFactory.buildSettings
5Web pages
AbstractMethodErrorSettingsFactory.buildSettings5

Configuration.<clinit>() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
org.hibernate.cfg.Configuration.<clinit>
5Web pages
NoSuchMethodErrorConfiguration.<clinit>5

Ejb3Column.checkPropertyConsistency() has thrown an AnnotationException

org.hibernate.AnnotationException
org.hibernate.cfg.Ejb3Column.checkPropertyConsistency
5Web pages
AnnotationExceptionEjb3Column.checkPropertyConsistency5

Mappings.addImport() has thrown a MappingException

org.hibernate.MappingException
org.hibernate.cfg.Mappings.addImport
5Web pages
MappingExceptionMappings.addImport5

Configuration.reset() has thrown an ExceptionInInitializerError

java.lang.ExceptionInInitializerError
org.hibernate.cfg.Configuration.reset
5Web pages
ExceptionInInitializerErrorConfiguration.reset5

Configuration.buildMappings() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
6 frames hidden
org.hibernate.cfg.Configuration.buildMappings
5Web pages
NoSuchMethodErrorConfiguration.buildMappings5

Configuration.buildSessionFactory() has thrown a ClassCastException

java.lang.ClassCastException
2 frames hidden
org.hibernate.cfg.Configuration.buildSessionFactory
5Web pages
ClassCastExceptionConfiguration.buildSessionFactory5

Configuration.secondPassCompile() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
org.hibernate.cfg.Configuration.secondPassCompile
5Web pages
NullPointerExceptionConfiguration.secondPassCompile5

Configuration.buildSessionFactory() has thrown a ClassCastException

java.lang.ClassCastException
4 frames hidden
org.hibernate.cfg.Configuration.buildSessionFactory
4Web pages
ClassCastExceptionConfiguration.buildSessionFactory4

Configuration.buildSessionFactory() has thrown a NoSuchMethodError

java.lang.NoSuchMethodError
1 frames hidden
org.hibernate.cfg.Configuration.buildSessionFactory
4Web pages
NoSuchMethodErrorConfiguration.buildSessionFactory4
Nothing to list here.
Nothing to list here.
Nothing to list here.