我正在创建一个使用 struts2 spring 和 hibernate 的应用程序。我得到的异常是上下文初始化失败
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory'
defined in ServletContext resource [/WEB-INF/classes/sampleContext.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
我的库中有所有相关的 jar