qq_39688605
Bug怎么了
采纳率0%
2019-03-22 17:07 阅读 233

springboot整合hibernate时报错

图片说明图片说明图片说明图片说明
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userInfoDaoImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.hibernate.SessionFactory' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

老是报找不到我的userInfoDaoImpl类,说是sessionfactory注入失败

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

相关推荐