No such extension com.alibaba.dubbo.rpc.Protocol by name dubbo
See original GitHub issue测试 com.alibaba.dubbo.examples.merge.MergeProvider.main(MergeProvider.java:29) 出现以下BUG 更换 protocal 为 rmi 等或者直接让dubbo取用默认protoal 依然报错。
Exception in thread "main" java.lang.IllegalStateException: No such extension com.alibaba.dubbo.rpc.Protocol by name dubbo
at com.alibaba.dubbo.common.extension.ExtensionLoader.findException(ExtensionLoader.java:489)
at com.alibaba.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:496)
at com.alibaba.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:317)
at com.alibaba.dubbo.config.ServiceConfig.findConfigedPorts(ServiceConfig.java:623)
at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:464)
at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:351)
at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:312)
at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:211)
at com.alibaba.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:122)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:167)
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.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at com.alibaba.dubbo.examples.merge.MergeProvider.main(MergeProvider.java:29)
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Apache Dubbo 3.2.0-beta.2 API - javadoc.io
FutureAdapter was in dubbo-rpc-dubbo module, considering some users will use this class directly, keep the package not changed. org.apache.dubbo.rpc.protocol.
Read more >Rpc框架dubbo - HelloWorld开发者社区
getProtocol(); if (var4 == null) { throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.Protocol) name from url(" + ...
Read more >出错了,解决不了。希望有哥哥帮忙可以看看。java.lang ...
<h1>HTTP Status 500 - java.lang.IllegalStateException: No such extension com.alibaba.dubbo.validation.Validation by. name ture</h1>.
Read more >No such extension org.apache.dubbo.metadata.report ...
getWrapper(Wrapper.java:121) at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory.getInvoker(JavassistProxyFactory.java:41) at ...
Read more >dubbo.protocol.name - CSDN
IllegalStateException: No such extension com.alibaba.dubbo.rpc.Protocol by name dims, possible causes: (1) com.alibaba.dubbo.rpc.protocol.webservice.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
我把dubbo版本升级到2.6.1,运行正常,还有个原因可能是我添加了
@web1992