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