Hi All,
I am newbie in hibernate. I am getting this exception while running my program.
Code:
[color=#FF0000]Exception in thread "main" java.lang.NoSuchFieldError: sqlResultSetMappings
at org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings(AnnotationConfiguration.java:166)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:254)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1049)
at de.laliluna.hibernate.SessionFactoryUtil.<clinit>(SessionFactoryUtil.java:33)
at de.laliluna.example.TestExample.createHoney(TestExample.java:97)
at de.laliluna.example.TestExample.main(TestExample.java:28)[/color]
I have configured my mysql details in the hibernate configuration file and my table details in the test.hbm file. I dont know the what the error means!! Can any one please explain me?
-vignesh