关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、3102411850 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 9548|回复: 1

[Minidao] 增加了minidao后启动报错

[复制链接]
发表于 2018-5-10 11:20:20 | 显示全部楼层 |阅读模式
[2018-05-10 11:08:41] [WARN] [org.hibernate.id.UUIDHexGenerator:59] HHH000409: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
[2018-05-10 11:08:43] [WARN] [org.springframework.web.context.support.XmlWebApplicationContext:489] Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tabDhroomusedController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.dhroom.tabdhroomused.dao.DhroomMinidaoDao com.dhroom.tabdhroomused.controller.TabDhroomusedController.dhroomMinidaoDao; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.dhroom.tabdhroomused.dao.DhroomMinidaoDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
发表于 2018-5-10 12:03:55 | 显示全部楼层
新建的minidao 没配置扫描路径吧,没有注入spring容器中
src/main/resources/spring-minidao.xml
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表