Alex
Alex
代码呢,贴上来看看?
@wappoint I just tested it. It doesn't seem to have this problem. Maybe some configuration problems. You can check it
我这边打包编译都是没有问题的,Jdk 1.8 不过通常情况下,我不会执行单元测试,maven在打包编译的时候后面加上参数 -DskipTests
看下这个版本,对2.x版本的dubbo做了一些改进, https://github.com/linux-china/dubbo3 @MahdiCat
1、先排查网络是否正常。 2、检查注册中心是否工作正常 估计注册中心出故障的几率比较大。
公司: 杭州迎创网络有限公司 地址:中国杭州 联系方式: 邮箱:[email protected] 场景:系统服务化
这个问题跟DUBBO没关系吧? 你检查一下,web.xml 里面是不是配置了ContextLoaderListener?Spring boot是不需要配置ContextLoaderListener的
com.alibaba.dubbo.common.Version中有这样的一行代码 ```java // Dubbo RPC protocol version, for compatibility, it must not be between 2.0.10 ~ 2.6.2 public static final String DEFAULT_DUBBO_PROTOCOL_VERSION = "2.0.2"; ``` 它代表的是不是dubbo的发布版本吗?不止是2.6.3有这个问题,以前的版本也是一样的
I recommend that when you write comments, you change lines in the right place so that it's easy to read. The following comments needs to slide. ```java /** * Register...
这个命名我个人觉得,Reference已经具有Consumer的意思,所以我建议@ReferenceBean是不是更好? 当前呢,可以通过以下方式来实现,可能会稍微麻烦一些 ```java @Configuration public class DubboConfig { @Reference(version = "${demo.service.version}") private DemoServie demoService; @Bean public DemoServie demoServie() { return demoService; } } ```