No matching bean of type [com.chengyin.dao.AuthorDao] found for dependency 之所以出现找不到这个Dao是因为在DaoImpl中没有写注释@Repository("xxx"),加上注释OK解决问题。