原始错误:

demo.printing.yinbao.controller.YinbaoSpecificationController中的现场服务需要找不到类型为“ demo.printing.yinbao.service.YinbaoSpecificationService”的bean。

解决办法

在ServiceImp层中加入注解 : @Service 即可正常启动项目运行.

SpringBoot启动报错Field service in XXX required a bean of XXX that could not be found.相关推荐

  1. springboot项目启动报错Field Mapper in ServiceImpl required a bean of type ‘Mapper‘ that could not be found

    1.报错: Error starting ApplicationContext. To display the conditions report re-run your application wi ...

  2. springboot启动报错Field *Service in *.*.controller.*Controller required a single bean, but 2 were found:

    文章目录 报错: 解决 报错: Description: Field userService in com.atmae.agriculture.controller.UserController re ...

  3. SpringBoot报错Field userService in XXTestController required a bean of type 'XX' that could not be...

    运行SpringBoot项目报错Field userService in XXXTestController required a bean of type 'XXX' that could not ...

  4. springboot 启动报错Field XXX required a bean of type XXX that could not be found的解决方案总结

    1.检查 各个层的注解,尤其是Mapper层,看是否遗漏 @Mapper/@Repository 2.检查启动类注解,如若没问题,可加 @ComponentScan("需要扫描的包路径&qu ...

  5. SpringBoot启动报错Could not resolve placeholder ‘XXX.XXX‘ in value

    SpringBoot启动项目时报错: Exception encountered during context initialization - cancelling refresh attempt: ...

  6. SpringBoot启动报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean

    SpringBoot启动报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean ...

  7. IDEA springboot启动报错java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path

    IDEA springboot启动报错: java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path: [D:\Java\bi ...

  8. springboot启动报错Logbook

    springboot启动报错 APPLICATION FAILED TO START Description: Field logbookHttpRequestInterceptor in com.j ...

  9. SpringBoot启动报错:HikariPool-1 - Exception during pool initialization.解决办法

    SpringBoot启动报错:HikariPool-1 - Exception during pool initialization. 记一次Maven项目部署http访问mysql数据库过程中的问题 ...

最新文章

  1. PHP高并发的解决方案
  2. word2007中如何隐藏工具栏
  3. 【BootCDN】前端使用开源免费的 CDN 加速服务
  4. Python 开篇及第一个Python程序
  5. API文档工具-Swagger的集成
  6. BZOJ 2431 DP
  7. SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.
  8. html代码向下移动,在html表格中向下移动Jquery
  9. 基于栈的字节码解释执行引擎图解
  10. 详解Java异或运算符
  11. tpu云_如何与TPU合作
  12. 应届生面试技巧心得及选择工作走向的分析
  13. 3D打印机可以打印什么?
  14. Win10 python双版本共存配置问题 Configuration file could not be loaded.
  15. react18中使用react-hook-form
  16. vue cli3及4版本的全局引入scss
  17. 数明SLM27517能驱动MOSFET和IGBT功率开关 低侧栅极驱动器兼容UCC27517
  18. 机器视觉定位入门三步走-第一步
  19. 迷人和漂亮的十几岁的明星
  20. 最新多屏群控技术---手机控制手机/苹果群控/IOS群控/实时同步操作群控功能讲解以及入门教程

热门文章

  1. SoilingNet: Soiling Detection on Automotive Surround-View Cameras 论文精读
  2. JS如何判断文本是否超出隐藏
  3. 微信小程序开发-计算器-笔记(一)
  4. Jenkins和GitLab CI/CD:CI/CD工具之战
  5. SwiftUI官方教程解读
  6. 查看当前系统运行的服务器,linux 查看当前运行的所有服务器
  7. VS运行的html显示0kb,为什么我的路由器显示0KB呢? 我都连接到了 还是0KB
  8. 正项级数收敛的一个判别法
  9. JUSTICE∶What’s the Right Thing to Do 正义∶一场思辨之旅. 公正:该如何做是好?
  10. 保弘实业|个人理财如何树立正确的理财观念