昨天通过Spring+springmvc+hibernate搭一个简易的页面,遇到如下问题:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'userDao': Injection of resource dependencies failed;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in class path resource
[beans.xml]: Invocation of init method failed; n