Home  >  Forum  >  Spring
Post New Query

Error: org.hibernate.cfg.Configuration


joined on
March 18,2013
Asked on March 19,2013
Caused by: java.lang.NoClassDefFoundError: org.hibernate.cfg.Configuration
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.class$(LocalSessionFactoryBean.java:158)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.(LocalSessionFactoryBean.java:158)
at org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean.(AnnotationSessionFactoryBean.java:64)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 15 more
joined on
March 18,2013
Replied on March 19,2013

You are missing Hibernate-core jar.   org.hibernate.cfg.Configuration belongs to this package.

Write Answer









Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us