dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CjqDy (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] CjqDy commented on issue #3880: dubbo nacos version question
Date Wed, 17 Apr 2019 09:11:49 GMT
> Dubbo support Nacos from 2.7.0 and 2.6.6. Could you please provide steps to reproduce
this issue?

当前项目运行版本是 com.alibaba.dubbo 2.6.6 + dubbo-registry-nacos 0.0.1
正常注册消费没有问题(在2.6.5版本尝试也没有问题)

1.把nacos版本换成0.0.2后
有两个错误:
无法记载RegistryFactory
Failed to load extension class(interface: interface com.alibaba.dubbo.registry.RegistryFactory
NacosException不存在
java.lang.NoClassDefFoundError: com/alibaba/nacos/api/exception/NacosException
2. dubbo2.7.1 版本+nacos 2.7.1
        <dependency>
            <groupId>org.apache.dubbo</groupId>
            <artifactId>dubbo</artifactId>
            <version>2.7.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.dubbo</groupId>
            <artifactId>dubbo-registry-nacos</artifactId>
            <version>2.7.1</version>
        </dependency>
        <dependency>
            <groupId>com.alibaba.nacos</groupId>
            <artifactId>nacos-client</artifactId>
            <version>1.0.0-RC3</version>
        </dependency>
 只是换了dubbo 和 nacos的依赖
其他都没动
启动报错
dubbo version: 2.7.1, current host: 192.168.121.110
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([127.0.0.1:8848])
tried: failed to req API:http://127.0.0.1:8848/nacos/v1/ns/instance. code:400 msg: dom not
found: DEFAULT_GROUP@@providers:com.orange.service.DemoService

dubbo 版本换成2.7.0还是一样







[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3880 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
Mime
View raw message