Field xxxService in xxx.controller.xxx required a bean of type ‘xxx.service.xxx’ that could not be found.

The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)

Action:

Consider defining a bean of type ‘cn.smxy.mybatisboot1.service.StudentService’ in your configuration.

可能是忘记在Service实现类上加@Service

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

  1. 解决办法 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 ...

  2. 报错,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 ...

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

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

  4. 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' ...

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

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

  6. 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 ...

  7. 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. ...

  8. 启动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 ...

  9. 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 ...

最新文章

  1. Scala入门到精通——第四节 Set、Map、Tuple、队列操作实战
  2. LeetCode 1466. 重新规划路线(DFS/BFS)
  3. 朋友圈为何总给我推HERMES?
  4. 《C和指针》——字符串操作补、字符串内存操作
  5. android 混合现实,基于Android的增强现实客户端的设计与实现
  6. 解放原画师!Wav2Lip 用 AI 听音同步人物口型
  7. Jsp+Ssm+Mysql在线考试系统
  8. thinking back no9
  9. ubuntu14.04 截图
  10. spring security原理图及其解释
  11. python实现xgboost算法
  12. crossover卸载 linux,Ubuntu中卸载CrossOver困难?那是你没学会这个命令
  13. android sdk集合 下载,Android SDK下载列表(含海内下载)-下
  14. java中的math pow,Java Math.pow(a,b)时间复杂度
  15. 字大小数据 - 快速取模的C++实现
  16. 手机拍照及简单的图片压缩
  17. Data Analysis - Day7 - Pandas
  18. 国产数据库---GBase进入Gartner DMSA魔力象限
  19. Java代码签名证书申请和使用指南
  20. Webpack中 的css-loader和less-loader

热门文章

  1. 什么是数字孪生?已有哪些应用?终于有人讲明白了
  2. 笔记本电脑黑屏后如何重装系统,解决笔记本电脑黑屏
  3. Butter Knife[黄油刀]配置
  4. 【react实战小项目:笔记】用React 16写了个订单页面
  5. C51玩8x8LED点阵:PointGame —— 收藏数爆炸的LED小游戏
  6. 计算机网络第三章——数据链路层
  7. 抽象代数之pq阶群或者为循环群或者只有两种结构
  8. MakeSpace:什物云存储版Dropbox 融800万美元
  9. NLP会议介绍 2019
  10. App Inventor 2制作天气预报