Spring No qualifying bean of type错误

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>
阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页