![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Dubbo
普通网友
这个作者很懒,什么都没留下…
展开
-
Dubbo之服务降级
文章目录1.可以通过dubbo控制台2.也可以通过配置中心向注册中心写入动态配置Dubbo之服务降级1.可以通过dubbo控制台屏蔽:不在调用远程接口,在本地直接返回null容错:当调用远程接口失败的时候,返回null值,不抛异常2.也可以通过配置中心向注册中心写入动态配置//官方示例RegistryFactory registryFactory = ExtensionLoader...原创 2020-03-13 10:48:46 · 188 阅读 · 0 评论 -
@Service interfaceClass() or interfaceName() or interface class must be present!
最近把一个普通项目拆成dubbo分布式的,出现了这个异常,先看下报错信息java.lang.IllegalArgumentException: @Service interfaceClass() or interfaceName() or interface class must be present! at org.springframework.util.Assert.notNull(As...原创 2020-03-10 13:42:52 · 7769 阅读 · 3 评论