Field *****Service in com.ruoyi.web.slweb.controller.TAcceptController required a bean of type ‘com.wx.base.service.*****Service’ that could not be found.
使用开源的前后端分离版若依框架,代码放进去后启动报错,说是找不到这个service,因为启动项和业务代码不在同一个module模块,所以用了MapperScan.这个注解
原因:MapperScan只扫描了mapper下面的文件修正:因为我的service和mapper在同一层级,所以往上一层就可以扫描到了。
启动成功

Field *****Service in com.ruoyi.web.slweb.controller.TAcceptController required a bean of type ‘com.相关推荐

  1. Field XXXService in com.XXX.controller.XXX required a bean of type ‘com.XXX.mapper.xxx‘that could no

    解决办法: Field surveyTypeService in com.XXX.controller.XXX required a bean of type 'com.XXX.mapper.xxx' ...

  2. 解决Field xxService in x.controller.x required a bean of type ‘x.service.x‘ that could no be found的方法

    Field xxxService in xxx.controller.xxx required a bean of type 'xxx.service.xxx' that could not be f ...

  3. Field rightsService in com.jt.controller.RightsController required a bean of type ‘com.jt.service.R

    报错信息 Field rightsService in com.jt.controller.RightsController required a bean of type 'com.jt.servi ...

  4. 报错,Field cardTypeService in cn.yihuazt.cols.controller.CardTypeController required a bean of type ‘c

    问题: 2021-04-27 19:48:09.528 ERROR 27192 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter ...

  5. 启动SpringBoot报错:Field userService in com.sunshin.controller.UserController required a bean of type...

    当项目启动SpringBoot报这个错误时: Field userService in com.sunshine.controller.UserController required a bean o ...

  6. 解决办法 Field userService in com.sxsj.controller.RegistLoginController required a bean of type

    转自:https://blog.csdn.net/awmw74520/article/details/82687288 APPLICATION FAILED TO START Error starti ...

  7. Field userService in com.zher.reggie_task_out.controller.UserController required a bean of type ‘com

    背景: 在 Controller 中操作 Service 时出现了该报错 错误日志如下: *************************** APPLICATION FAILED TO START ...

  8. SpringBoot项目启动报错:Field userMapper in com.demo.controller.MemberController required a bean of type ‘c

    问题描述: SpringBoot项目启动报错,报错内容:'com.xxx.mapper.XxxxMapper' that could not be found ******************** ...

  9. Field myFeignClient in com.zkh.controller.FeignController required a bean of type 'com.zkh.feign.MyF

    Description:Field myFeignClient in com.zkh.controller.FeignController required a bean of type 'com.z ...

最新文章

  1. CSDN 十大技术主题盘点-AI篇
  2. 七天学习计划_c#_[2][3][4][5]委托、事件、委托与事件的区别、泛型委托、Func\Action\predicate
  3. 杭电多校第十场 hdu6434 Count 欧拉函数打表 快速打表模板
  4. 《数据分析思维手册.pdf》,真的强!
  5. 【直观理解】一文搞懂RNN(循环神经网络)基础篇
  6. controller调用controller的方法_SpringCloud(5):Feign整合Ribbon和Hystrix来进行远程调用与服务熔断...
  7. ubuntu 12.04 nginx+ mono-fastcgi-server
  8. 华为组织架调整,CloudAI升至第四大BG,打通全球第一款集成5G模组的4K直播编码器网络通信服务;谷歌宣布与IBM合作……...
  9. java5新特性_5分钟了解Java 12 八大新特性
  10. 业余学python 树莓派_厉害了!小伙自学Python一个月,利用树莓派制作了黑客优盘工具!...
  11. Linux查看某个进程的磁盘IO读写情况
  12. U盘无法格式化解决方法
  13. Java(实验四)Java标准类库-将一个字符串中的小写字母变成大写字母,并将大写字母变成小写字母
  14. 5G接入网学习:什么是C-RAN、D-RAN?
  15. 树莓派安装各种Ubuntu版本及系统推荐
  16. 电脑报警声含义大全 主板警报声代表什么
  17. 解决div浮动过后 里面元素如何浮动
  18. ProMax v2.0.7047 1CD流程模拟软件
  19. 离散数学——命题逻辑(命题、联结词、命题公式、对偶式、大小项、主范式、推论、直接证明、反证法、cp规则)
  20. Ada的另一个身份--计算机语言

热门文章

  1. CTF练习-TU-CTF-2016 pwn BBYS-first-elf-25 记录
  2. ACM-NEFU新生训练2-排序和CMP
  3. python,unicode转换中文,中文转换unicode
  4. mac时间机器删除旧备份
  5. 解决win7无法打开chm格式文件的问题
  6. 机器视觉2D点旋转中心标定及旋转后坐标计算
  7. Cuteftp连接虚拟机Centos7
  8. 外汇交易员必读:使用EA做外汇要注意的细节,尤其第三点
  9. openfoam CourantNo.H
  10. Opencv学习记录(三) —— 得到图像中目标物坐标的简单处理算法(望指正与补充)