拆分springboot项目的时候遇到一个问题,通过zipkin往es存日志的时候报了一个错误,从bean中获取Tracer是空的,程序抛出如下异常。

org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'brave.Tracer' availableat org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:348)at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:339)at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1123)at com.sdsjjy.cloud.portal.order.common.config.TracerConfig.getTracer(TracerConfig.java:33)

解决办法:

pom.xml中加入启动zipkin的包

        <dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-zipkin</artifactId></dependency>

No qualifying bean of type ‘brave.Tracer‘ available相关推荐

  1. 解决 org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type的问题...

    具体错误如下: Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying be ...

  2. No qualifying bean of type xxx‘ available 的一种解决方法

    No qualifying bean of type xxx' available 的一种解决方法 参考文章: (1)No qualifying bean of type xxx' available ...

  3. mapper注入失败,NoSuchBeanDefinitionException: No qualifying bean of type [com.xxx.XxxMapper] found for d

    mapper注入失败: Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifyin ...

  4. SpringBoot中出现 No qualifying bean of type ‘com.tanhua.server.mapper.UserInfoMapper‘ available: expect

    在使用SpringBoot框架时出现 No qualifying bean of type 'com.tanhua.server.mapper.UserInfoMapper' available: e ...

  5. 个人学习(解决)练习ssm框架遇到的问题No qualifying bean of type ‘service.BookTypeService‘ available:

    报错信息 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ...

  6. Spring项目启动报错No qualifying bean of type [xxx] available: expected single matching bean but found 2

    启动报错: No qualifying bean of type [class1] available: expected single matching bean but found 2,class ...

  7. No qualifying bean of type ‘com.xxx.xx.service.xxService‘ available: expected at leas

    No qualifying bean of type 'com.xxxx.xx.service.xxService' available: expected at least 1 bean which ...

  8. Service类报错No qualifying bean of type ‘’ available: expected at least 1 bean which qualifies as auto

    Spring框架 Error creating bean No qualifying bean of type '' available: expected at least 1 bean which ...

  9. No qualifying bean of type found for dependency: expected at least 1 bean which qualifies as autowir

    异常1 :No qualifying bean of type found for dependency: expected at least 1 bean which qualifies as au ...

最新文章

  1. python 执行ping命令_Python黑科技:在家远程遥控公司电脑,python+微信一键连接!...
  2. 泡椒java_吃货联盟 源代码 Java初级小项目
  3. 海门工业机器人_海门工业机器人供应商稳扎稳打
  4. 大学python用什么教材-数据结构 Python语言描述 大学教材
  5. 学习nginx接口调用之摘录
  6. 汉字为什么能流传至今_能让历史重新活起来的中国舞,再次席卷而来
  7. 一份超详细的MySQL高性能优化实战总结
  8. idea每次都要build_Lombok有啥牛皮的?SpringBoot和IDEA官方都要支持它!
  9. Eclipse项目上传码云、从码云上检出项目、修改检出项目后在提交到码云、看此篇即可
  10. 关于银行,有哪些有趣的冷知识
  11. 第三百零九节,Django框架,models.py模块,数据库操作——F和Q()运算符:|或者、并且——queryset对象序列化...
  12. Pr 入门教程,如何倾斜移位效果?
  13. 哈夫曼编码(Huffman coding)的那些事,(编码技术介绍和程序实现)
  14. Linux系统各发行版镜像下载(借阅)
  15. 【JAVA长虹键法】第六式 原型模式(23种设计模式)
  16. 数字图像处理 自学笔记 (武汉大学 贾永红)
  17. NBUT 1665 木块拼接
  18. 微信支付失败中关于“签名错误”的解决方案
  19. 函数,主函数,被调用函数,库函数。
  20. R语言在线地图神器:Leaflet for R包(三) 符号标记

热门文章

  1. sentences translation-2019/02/19
  2. 名画380 齐白石《借山图册二十二开》
  3. 思科telnet远程登入
  4. oracle srvctl命令,Oracle SRVCTL使用说明
  5. ORB-SLAM中的ORB特征提取
  6. 我为什么选择Linux mint 21.1 “Vera“ ? Mint安装优化调教指南(分辨率DPI、主题美化)
  7. 6款实用开源报表工具
  8. R语言使用data.table包中的merge函数连接(内连接)两个dataframe数据(Inner join)
  9. 世纪互联牵手阿里云 数据中心全面升级混合云部署
  10. IP报头的协议类型字段取值