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
原创粉丝点击