You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "lmhongwei (GitHub)" <gi...@apache.org> on 2018/12/27 08:10:26 UTC

[GitHub] [incubator-dubbo-ops] lmhongwei opened issue #206: Nacos注册中心支持

什么时候可以支持Nacos注册中心呢?

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

[GitHub] [incubator-dubbo-ops] lmhongwei commented on issue #206: Nacos注册中心支持

Posted by "lmhongwei (GitHub)" <gi...@apache.org>.
加了dubbo-registry-nacos 和 nacos-clinet 依赖,但是仍然报错:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.dubbo.admin.data.config.GovernanceConfiguration]: Factory method 'getDynamicConfiguration' threw exception; nested exception is java.lang.IllegalStateException: No such extension org.apache.dubbo.admin.data.config.GovernanceConfiguration by name nacos
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:579) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
	... 47 common frames omitted

依赖如下:
	    <dependency>
	        <groupId>com.alibaba</groupId>
	        <artifactId>dubbo-registry-nacos</artifactId>
	        <version>0.0.2</version>
	    </dependency>
	    <dependency>
	        <groupId>com.alibaba.nacos</groupId>
	        <artifactId>nacos-client</artifactId>
	        <version>[0.6.1,)</version>
	    </dependency>


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

[GitHub] [incubator-dubbo-ops] lmhongwei commented on issue #206: Nacos注册中心支持

Posted by "lmhongwei (GitHub)" <gi...@apache.org>.
加了dubbo-registry-nacos 和 nacos-clinet 依赖,但是仍然报错:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.dubbo.admin.data.config.GovernanceConfiguration]: Factory method 'getDynamicConfiguration' threw exception; nested exception is java.lang.IllegalStateException: No such extension org.apache.dubbo.admin.data.config.GovernanceConfiguration by name nacos
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:579) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
	... 47 common frames omitted

依赖如下:
	   <!-- Dubbo Nacos registry dependency -->
	    <dependency>
	        <groupId>com.alibaba</groupId>
	        <artifactId>dubbo-registry-nacos</artifactId>
	        <version>0.0.2</version>
	    </dependency>
	    <!-- Keep latest Nacos client version -->
	    <dependency>
	        <groupId>com.alibaba.nacos</groupId>
	        <artifactId>nacos-client</artifactId>
	        <version>[0.6.1,)</version>
	    </dependency>


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

[GitHub] [incubator-dubbo-ops] mercyblitz commented on issue #206: Nacos注册中心支持

Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
Recently,  https://github.com/dubbo/dubbo-registry-nacos has supported as Nacos registry, You just need to add this dependecies into your project, and the application will be displayed on Ops console, however, it's still not supported to adjust weight of load-balance for Dubbo's services, you have to official integartion.

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


[GitHub] [incubator-dubbo-ops] lmhongwei commented on issue #206: Nacos注册中心支持

Posted by "lmhongwei (GitHub)" <gi...@apache.org>.
加了dubbo-registry-nacos 和 nacos-clinet 依赖,但是仍然报错:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.dubbo.admin.data.config.GovernanceConfiguration]: Factory method 'getDynamicConfiguration' threw exception; nested exception is java.lang.IllegalStateException: No such extension org.apache.dubbo.admin.data.config.GovernanceConfiguration by name nacos
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:579) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
	... 47 common frames omitted

application.propreties 如下:
dubbo.registry.group=dubbo
dubbo.configcenter=nacos://192.168.11.180:8848

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

[GitHub] [incubator-dubbo-ops] mercyblitz commented on issue #206: Nacos注册中心支持

Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
Recently,  https://github.com/dubbo/dubbo-registry-nacos has supported as Nacos registry. You just need to add this dependecies into your project, and the application will be displayed on Ops console, however, it's still not supported to adjust weight of load-balance for Dubbo's services, you have to wait the official integartion.

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


[GitHub] [incubator-dubbo-ops] lmhongwei commented on issue #206: Nacos注册中心支持

Posted by "lmhongwei (GitHub)" <gi...@apache.org>.
加了dubbo-registry-nacos 和 nacos-clinet 依赖,但是仍然报错:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.dubbo.admin.data.config.GovernanceConfiguration]: Factory method 'getDynamicConfiguration' threw exception; nested exception is java.lang.IllegalStateException: No such extension org.apache.dubbo.admin.data.config.GovernanceConfiguration by name nacos
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:579) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
	... 47 common frames omitted

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

[GitHub] [incubator-dubbo-ops] mercyblitz commented on issue #206: Nacos注册中心支持

Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
Recently,  https://github.com/dubbo/dubbo-registry-nacos has supported as Nacos registry, You just need to add this dependecies into your project, and the application will be displayed on Ops console, however, it's still not supported to adjust weight of load-balance for Dubbo's services, you have to wait the official integartion.

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