Field *****Service in com.ruoyi.web.slweb.controller.TAcceptController required a bean of type ‘com.
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.相关推荐
- 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' ...
- 解决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 ...
- 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 ...
- 报错,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 ...
- 启动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 ...
- 解决办法 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 ...
- Field userService in com.zher.reggie_task_out.controller.UserController required a bean of type ‘com
背景: 在 Controller 中操作 Service 时出现了该报错 错误日志如下: *************************** APPLICATION FAILED TO START ...
- SpringBoot项目启动报错:Field userMapper in com.demo.controller.MemberController required a bean of type ‘c
问题描述: SpringBoot项目启动报错,报错内容:'com.xxx.mapper.XxxxMapper' that could not be found ******************** ...
- 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 ...
最新文章
- CSDN 十大技术主题盘点-AI篇
- 七天学习计划_c#_[2][3][4][5]委托、事件、委托与事件的区别、泛型委托、Func\Action\predicate
- 杭电多校第十场 hdu6434 Count 欧拉函数打表 快速打表模板
- 《数据分析思维手册.pdf》,真的强!
- 【直观理解】一文搞懂RNN(循环神经网络)基础篇
- controller调用controller的方法_SpringCloud(5):Feign整合Ribbon和Hystrix来进行远程调用与服务熔断...
- ubuntu 12.04 nginx+ mono-fastcgi-server
- 华为组织架调整,CloudAI升至第四大BG,打通全球第一款集成5G模组的4K直播编码器网络通信服务;谷歌宣布与IBM合作……...
- java5新特性_5分钟了解Java 12 八大新特性
- 业余学python 树莓派_厉害了!小伙自学Python一个月,利用树莓派制作了黑客优盘工具!...
- Linux查看某个进程的磁盘IO读写情况
- U盘无法格式化解决方法
- Java(实验四)Java标准类库-将一个字符串中的小写字母变成大写字母,并将大写字母变成小写字母
- 5G接入网学习:什么是C-RAN、D-RAN?
- 树莓派安装各种Ubuntu版本及系统推荐
- 电脑报警声含义大全 主板警报声代表什么
- 解决div浮动过后 里面元素如何浮动
- ProMax v2.0.7047 1CD流程模拟软件
- 离散数学——命题逻辑(命题、联结词、命题公式、对偶式、大小项、主范式、推论、直接证明、反证法、cp规则)
- Ada的另一个身份--计算机语言