[DUBBO] Expected single matching of monitor, but found 2 instances, will randomly pick the first one
最近项目由alibaba dubbo升级到apache duboo 项目启动时出现[DUBBO] Expected single matching of monitor, but found 2 instances, will randomly pick the first one告警
查看ConfigManager.getConfig()方法中会启动时默认加载一个MonitorConfig#default
解决:只要把<dubbo:monitor address="" />放到启动时优先加载的配置中,如果不需要去掉<dubbo:monitor address="" />也可以
[DUBBO] Expected single matching of monitor, but found 2 instances, will randomly pick the first one相关推荐
- Expected single matching of application, but found 2 instances, will randomly pick the first one.
Expected single matching of application, but found 2 instances, will randomly pick the first one. 在项 ...
- 错误记录:expected single matching bean but found 2
springboot项目,之前有mysql数据源,现在又新增了clickhouse数据源,于是 新增了一个clickhouseDatasource的配置bean,如下: @Beanpublic Dat ...
- 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 ...
- available: expected single matching bean but found 2
available: expected single matching bean but found 2: smsLogServiceImpl,ISmsLogService 如上图,是在启动的时候出现 ...
- spring依赖注入单元测试:expected single matching bean but found 2
Spring不但支持自己定义的@Autowired注解,还支持几个由JSR-250规范定义的注解,它们分别是@Resource.@PostConstruct以及@PreDestroy. @Resour ...
- 【报错解决】expected single matching bean but found 2
文章目录 报错信息展示: 项目背景: 报错还原: 原因分析: 解决方案: 方案一:使用@Qualifier注解来指明注入的实例. 方案二:使用@Resource(name="Xxxservi ...
- No qualifying bean of type ‘com.itheima.dao.BookDao1‘ available: expected single matching bean 问题解决
写代码的时候出现了如下错误,错误原因如下: Mybatis装载了com.itheima.dao包下的所有bean,自然也包括BookDao1,而spring又装载了 com.itheima.dao ...
- Dubbo(五)Dubbo 简单监控平台(monitor)搭建
使用dubbo-admin中dubbo-monitor-simple 项目进行搭建dubbo自带的简单的监控平台. 一.下载应用工程 下载地址:https://github.com/apache/du ...
- 源码解析异常is expected to be of type ‘xxx‘ but was actually of type ‘xxx‘ 是如何发生的
前言 这篇博客是对[@Resource 源码解析]做的一个补丁.主要会讲解在使用@Resource的时候发生的is expected to be of type 'xxx' but was actua ...
最新文章
- 九月免费手账分享-【奶油星云】
- java单例模式_Java描述设计模式(01):单例模式
- 数据结构与算法 / 排序算法 / 基本概念
- 用户级线程与内核级线程
- TouchAction实现连续滑动设置手势密码
- 贪心1--排队打水问题
- Sql Server中实现Mysql中的group_concat函数效果
- 写给大数据从业者:数据科学的5个陷阱与缺陷
- Oracle笔记-Oracle Net Manager添加监听IP(当服务器IP变化时要用)
- ArcGis Server开发Web GIS新手体验(二)
- OPENSUSE + zabbix源码安装,PHP出现问题?怎么解决?
- md360 android,MD360Player4Android 学习的简单使用
- CCF NOI1145 数字金字塔【DP】
- Centos安装php高版本
- 兄弟连视频教程下载地址汇总-2014
- Linux下mongodb用户管理和设置远程登陆
- 千锋重庆IT学习之微信API接口文档
- 服务发现框架 —————— 开开开山怪
- Rest-assured框架详解
- 编译安装LNMP及报错解决