会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ppjj
博客园
首页
新随笔
联系
管理
2014年9月11日
mybatis expected at least 1 bean which qualifies as autowire candidate for this dependency
摘要: 错误原因:没有引入相应mapper接口,导致spring没有找到依赖 解决方法一:使用注解的方法: 首先在spring配置文件中添加 <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"> <property name="ba
阅读全文
posted @ 2014-09-11 19:53 ppjj
阅读(2377)
评论(0)
推荐(0)
公告