No qualifying bean of type [xx.xxx.xxx.xxDao] dound for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency
没找到bean,我的原因是web.xml里没有引入mybatis的xml配置文件:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:spring-mybatis.xml</param-value>
</context-param>