dubbo
朱志飞
QQ648895145
展开
-
ApplicationConfig#0“ contains illegal character, only digit, letter, ‘-‘, ‘_‘ or ‘.‘ is legal.
问题描述:升级dubbo 2.7.6 启动后项目报以下错:Caused by: java.lang.IllegalStateException: Invalid name="org.apache.dubbo.config.ApplicationConfig#0" contains illegal character, only digit, letter, '-', '_' or '.' is legal. at org.apache.dubbo.config.utils.ConfigVal...原创 2020-08-18 18:14:49 · 4936 阅读 · 3 评论 -
@DubboReference dependencies is failed解决办法
升级Dubbo2.7.7 出现以下错误org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'QRCodeLogic': Injection of @DubboReference dependencies is failed; nested exception is java.lang.NullPointerException一直以为是没有配置好,需要升级相应的配置,没有扫描到.原创 2020-08-12 12:01:41 · 17390 阅读 · 0 评论 -
org.apache.zookeeper.server.quorum.flexible.QuorumMaj.<init>(Ljava/util/Map;)V 解决办法
问题描述springMVC 升级dubbo2.7.7报以下错误org.springframework.beans.factory.BeanCreationException: Error creating bean with name '****': Injection of @DubboReference dependencies is failed; nested exception is java.lang.NoSuchMethodError: org.apache.zookeeper..原创 2020-08-05 11:56:24 · 4138 阅读 · 0 评论 -
SpringBoot下dubbo @Reference为null 解决办法
问题描述 之前的老项目使用的是mvc 架构 ,迭代起来非常麻烦,一狠心就直接改成SpringBoot了。更换后 发现HandlerInterceptorAdapter 使用 @Reference 取得的服务 都是null网上有很多@Reference 注入进来为null的解决办法,但跟我的场景不太一样 dubbo 服务类 如下 public interface UserService { ....代码省略.... }Interceptor类 如下...原创 2020-07-29 13:54:18 · 1460 阅读 · 0 评论 -
解决:the root element of the document is not <xsd:schema>.错误
1依次打开eclispe-->window-->preferences-->xml catalog--> location:为duboo.xsd 存放路径(见附件)key值为:http://code.alibabatech.com/schema/dubbo/dubbo.xsd ...原创 2016-11-28 11:05:25 · 6672 阅读 · 0 评论