在学习使用 mybatis-plus 时,遇到一个奇怪的异常 如 代码一:

代码一:

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-07-17 09:16:28.739 ERROR 9800 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : ***************************
APPLICATION FAILED TO START
*************************** Description: Field baseMapper in com.baomidou.mybatisplus.extension.service.impl.ServiceImpl required a single bean, but 3 were found:
- miguBusiHisMapper: defined in file [D:\workspaceIdea\ywjc-refactor\target\classes\com\guoll\modules\miguProject\mapper\MiguBusiHisMapper.class]
- miguBusiInfoMapper: defined in file [D:\workspaceIdea\ywjc-refactor\target\classes\com\guoll\modules\miguProject\mapper\MiguBusiInfoMapper.class]
- sysUserMapper: defined in file [D:\workspaceIdea\ywjc-refactor\target\classes\com\guoll\modules\sysmanage\mapper\SysUserMapper.class] Action: Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed Process finished with exit code 1

该错误怎么解决,求大佬指点

 

最新文章

  1. Thisgood
  2. 【转】Apache 配置虚拟主机三种方式
  3. Lind.DDD敏捷领域驱动框架~Lind.DDD各层介绍
  4. Laravel4中的Validator
  5. Keepalived安装使用详解
  6. 三、Distributing Maya Plugins
  7. 【Origin】 画道
  8. OpenGL基础图形编程
  9. C#基础——Func和Action的介绍及其用法
  10. C++模板元编程 - 1 基本数据类型和运算
  11. CentOS 6.3 安装ATI显卡驱动
  12. 关于ASP.NET控件方面的学习(恢复版)
  13. web 环境项目(intellj部署的tomcat) 重启时报 Exception in thread "HouseKeeper" java.lang.NullPointerException (转)
  14. java中方法总结(每周更新)
  15. Java基础语法<八> 继承
  16. LINUX 笔记-特定shell变量
  17. Docker安装入门 -- 中间件镜像
  18. 试试看读一下Zepto源码
  19. 朱晔的互联网架构实践心得S1E7:三十种架构设计模式(上)
  20. 剑指offer(14)

热门文章

  1. mysql 查询碎片的方法
  2. C# 自定义类中括号取值 测试
  3. netty-socketio(二)整合redis实现发布订阅
  4. 【BZOJ2118】墨墨的等式(同余最短路)
  5. 【商业智能VS人工智能】
  6. [CSP-S模拟测试]:简单的括号序列(组合数)
  7. python正则之特殊表达式 .*?{}
  8. express中redirect传递数据
  9. hdu 4511 (AC自动机)
  10. script标签defer与async的区别