在使用sring整合hibernate的时候,出现如下异常信息:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'empController'
严重: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'empController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'empService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.xiaoy.dao.EmpDao com.xiaoy.service.EmpServiceImpl.empDao; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'empDao': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: privat