`

org.springframework.beans.BeanInstantiationException

    博客分类:
  • SSH
阅读更多

严重: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [E:\Develop\apache-tomcat-6.2\webapps\Paging\WEB-INF\classes\applicationContext-common.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/dom4j/DocumentException
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/dom4j/DocumentException
Caused by: java.lang.NoClassDefFoundError: org/dom4j/DocumentException

 

解决方法:将dom4j-1.6.1.jar拷贝到lib目录下重新编译。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics