Bean named 'deptDao' must be of type [com.zttech.sys.dao.IGroupDao], but was actually of type [com.s
来源:互联网 发布:树人围棋软件注册码 编辑:程序博客网 时间:2024/05/16 03:57
Error creating bean with name 'groupController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'groupService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'deptDao' must be of type [com.zttech.sys.dao.IGroupDao], but was actually of type [com.sun.proxy.$Proxy91]
@Resource private IOfficedemoDao officedemoDao;
之前用的officeDao和底层的有重复,要保证名字唯一。
阅读全文
0 0
- Bean named 'deptDao' must be of type [com.zttech.sys.dao.IGroupDao], but was actually of type [com.s
- 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 '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 'userDao' must be of type [cn.itcast.nsfw.user.dao.UserDao], but was actually of type [cn
- “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 '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
- 解决must be of type [com.bysj.services.CompanyServiceImp], but was actually of type [com.sun.proxy.$Pr
- Bean named 'BService' is expected to be of type 'path1' but was actually of type 'path2'
- is expected to be of type but was actually of type 'com.sun.proxy.$Proxy70'
- is expected to be of type 'org.com.ssh.hibernate.AOPService.EchoTest' but was actually of type 'com.
- spring&Injection of resource dependencies failed&Bean named 'generalDao' must be of type [com.oracle
- NOJ1571八数码问题
- 【1】用jsoup来实现简单的java爬虫
- 正则表达式的常用操作符
- 留给人类的时间不多了?现在不学机器学习更待何时!
- Android程序签名打包 什么是签名,有什么用:
- Bean named 'deptDao' must be of type [com.zttech.sys.dao.IGroupDao], but was actually of type [com.s
- AngularJS(1.X)
- HDU-6010-Daylight Saving Time
- hbase于centos的安装
- LINUX 安装 JDK 配置环境变量
- Jenkins的使用步骤
- 实习6
- 【VMware】VMware Workstation虚拟机不能联网的解决办法
- C#下给数字前面补0的方法