apache / dubbo

The java implementation of Apache Dubbo. An RPC and microservice framework.
https://dubbo.apache.org/
Apache License 2.0
40.48k stars 26.43k forks source link

release 2.7.1 with nacos failed #3747

Closed zhengqigo closed 5 years ago

zhengqigo commented 5 years ago

Environment

If there is an exception, please attach the exception trace:

java.lang.IllegalStateException: No such extension org.apache.dubbo.registry.RegistryFactory by name nacos
    at org.apache.dubbo.common.extension.ExtensionLoader.findException(ExtensionLoader.java:516)
    at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:523)
    at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:347)
    at org.apache.dubbo.registry.RegistryFactory$Adaptive.getRegistry(RegistryFactory$Adaptive.java)
    at org.apache.dubbo.registry.integration.RegistryProtocol.getRegistry(RegistryProtocol.java:273)
    at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:187)
    at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:61)
    at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:55)
    at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:106)
    at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java)
    at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:559)
    at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:417)
    at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:375)
    at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:337)
    at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:319)
    at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:113)
    at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:59)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
    at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402)
    at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359)
    at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:896)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
zhengqigo commented 5 years ago

@chickenlj @beiwei30

mercyblitz commented 5 years ago

Could you please give more information?

zhengqigo commented 5 years ago

dubbo: application: name: xxx protocol: name: dubbo port: 20881 serialization: hessian2 registry: protocol: nacos address: 127.0.0.1:8848 file: /tmp/cache/${spring.application.name}.cache

registry_2 7 1 registryFactory_2 7 1

zhengqigo commented 5 years ago

@mercyblitz

zhengqigo commented 5 years ago

3797