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/28 05:26:10 UTC

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

加了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