Error creating bean with name 'sessionFactory' defined in ServletContext resourc
在做SSH框架的时候发布程序出现这样的错误提示框,已经按照网上很多人说的对ASM的几个包进行删除整理还是出现这样的问题,现在我将错误信息贴出来让大家帮我想想办法。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.hibernate.cfg.Configuration
Caused by:
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.hibernate.cfg.Configuration
Caused by:
java.lang.NoClassDefFoundError: org.hibernate.cfg.Configuration