Bean named 'userDao' must be of type [cn.itcast.nsfw.user.dao.UserDao], but was actually of type [cn
来源:互联网 发布:经济类书籍 知乎 编辑:程序博客网 时间:2024/05/22 12:20
Caused by: org.springframework.beans.factory.BeanNotOfRequiredTypeException:
Bean named 'userDao' must be of type [cn.itcast.nsfw.user.dao.UserDao], but was actually of type [cn.itcast.nsfw.user.dao.impl.UserDaoImpl]
错了好几遍,因为我的userdaoimpl没实现userdao接口。要长记性啊。费了半天才搞出来
0 0
- Bean named 'userDao' must be of type [cn.itcast.nsfw.user.dao.UserDao], but was actually of type [cn
- Bean named 'deptDao' must be of type [com.zttech.sys.dao.IGroupDao], but was actually of type [com.s
- “Bean named XXX must be of type[XXX], but was actually of type[XXX]”
- Bean named must be of type , but was actually of type
- Bean named '*' must be of type [*], but was actually of type [*] with root case
- “Bean named XXX must be of type[XXX], but was actually of type[XXX]”
- Bean named '*' must be of type [*], but was actually of type [com.sun.proxy.$Proxy34]
- BeanNotOfRequiredTypeException: Bean named "" must be of type [] but was actually of type [com.sun.p
- BeanNotOfRequiredTypeException: Bean named "" must be of type [] but was actually of type [com.su
- Bean named 'transactionAdvice' must be of type [org.aopalliance.aop.Advice], but was actually of typ
- Getting Spring Error “Bean named 'x' must be of type [y], but was actually of type [$Proxy]” in Jenk
- Bean named 'testImpl' must be of type [lcw.serviceimpl.testImpl], but was actually of type [com.sun.
- Bean named 'xxx' must be of type xxx , but was actually of type [com.sun.proxy.$Proxy189]
- Bean named 'BService' is expected to be of type 'path1' but was actually of type 'path2'
- 解决must be of type [com.bysj.services.CompanyServiceImp], but was actually of type [com.sun.proxy.$Pr
- No qualifying bean of type [com.dao.UserDao] found for dependency:
- but was actually of type [$Proxy19]
- is expected to be of type but was actually of type 'com.sun.proxy.$Proxy70'
- xml方式添加Fragment及概述
- 基本数据类型和包装类、String类的转换&toString方法&instanceof运算符
- Android 框架Dileber :一、ActivityManager的使用
- CenOS7安装MySQL5.7(yum)
- 立一个flag,开启博客记录学习之路
- Bean named 'userDao' must be of type [cn.itcast.nsfw.user.dao.UserDao], but was actually of type [cn
- ucloud如何新建一个虚拟机以及注意的地方
- java 快速排序优化版
- Android 框架Dileber :二、HPref的使用
- php抽象工厂模式
- 根据内容重新加载datagridview
- 在线手册速查
- 1016. Phone Bills (25)
- 通信实验 动态分区存储管理方式的主存分配回收 查错