You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/08/21 06:51:15 UTC
[GitHub] panyi5202 commented on issue #2311: Dubbo 2.6.2 version do not
support specify the protocol type on consumer side
panyi5202 commented on issue #2311: Dubbo 2.6.2 version do not support specify the protocol type on consumer side
URL: https://github.com/apache/incubator-dubbo/issues/2311#issuecomment-414568542
我按照上面的配置,启动就报错:
```
Exception in thread "main" java.lang.IllegalStateException: No such extension org.apache.dubbo.rpc.Protocol by name rest
at org.apache.dubbo.common.extension.ExtensionLoader.findException(ExtensionLoader.java:494)
at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:501)
at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:321)
at org.apache.dubbo.config.ServiceConfig.findConfigedPorts(ServiceConfig.java:648)
at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:471)
at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:358)
at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:317)
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:216)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:123)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:49)
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:393)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
at com.apache.dubbo.demo.provider.annotation.AppProvider.main(AppProvider.java:12)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org