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 2021/07/11 16:07:24 UTC

[GitHub] [dubbo] changwei0708 edited a comment on issue #8266: No such extension org.apache.dubbo.metadata.report.MetadataReportFactory by name dubbo, no related exception was found, please check whether related SPI module is missing

changwei0708 edited a comment on issue #8266:
URL: https://github.com/apache/dubbo/issues/8266#issuecomment-877825787


   @horizonzy 
   thx ! 
   it is work for me ,but take another exception trace 
   ```
    [ERROR] -  [DUBBO] [source error] getExportedURLs() not found in org.apache.dubbo.registry.client.metadata.store.InMemoryWritableMetadataService, dubbo version: 3.0.1, current host: 169.254.166.203
   java.lang.RuntimeException: [source error] getExportedURLs() not found in org.apache.dubbo.registry.client.metadata.store.InMemoryWritableMetadataService
   	at org.apache.dubbo.common.bytecode.ClassGenerator.toClass(ClassGenerator.java:344)
   	at org.apache.dubbo.common.bytecode.ClassGenerator.toClass(ClassGenerator.java:285)
   	at org.apache.dubbo.common.bytecode.Wrapper.makeWrapper(Wrapper.java:277)
   	at org.apache.dubbo.common.bytecode.Wrapper$$Lambda$219/662109583.apply(Unknown Source)
   	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
   	at org.apache.dubbo.common.bytecode.Wrapper.getWrapper(Wrapper.java:121)
   	at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory.getInvoker(JavassistProxyFactory.java:41)
   	at org.apache.dubbo.rpc.proxy.wrapper.StubProxyFactoryWrapper.getInvoker(StubProxyFactoryWrapper.java:119)
   	at org.apache.dubbo.rpc.ProxyFactory$Adaptive.getInvoker(ProxyFactory$Adaptive.java)
   	at org.apache.dubbo.config.ServiceConfig.exportLocal(ServiceConfig.java:565)
   	at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:499)
   	at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:362)
   	at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:338)
   	at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:231)
   	at org.apache.dubbo.config.metadata.ConfigurableMetadataServiceExporter.export(ConfigurableMetadataServiceExporter.java:83)
   	at org.apache.dubbo.config.metadata.ConfigurableMetadataServiceExporter.export(ConfigurableMetadataServiceExporter.java:55)
   	at org.apache.dubbo.config.bootstrap.DubboBootstrap.exportMetadataService(DubboBootstrap.java:1270)
   	at org.apache.dubbo.config.bootstrap.DubboBootstrap.start(DubboBootstrap.java:1101)
   	at org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener.onContextRefreshedEvent(DubboBootstrapApplicationListener.java:80)
   	at org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener.onApplicationContextEvent(DubboBootstrapApplicationListener.java:72)
   	at com.alibaba.spring.context.OnceApplicationContextEventListener.onApplicationEvent(OnceApplicationContextEventListener.java:52)
   	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:404)
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:361)
   	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:898)
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554)
   	at org.apache.dubbo.container.spring.SpringContainer.start(SpringContainer.java:50)
   	at org.apache.dubbo.container.Main.main(Main.java:90)
   Caused by: javassist.CannotCompileException: [source error] getExportedURLs() not found in org.apache.dubbo.registry.client.metadata.store.InMemoryWritableMetadataService
   	at javassist.CtNewMethod.make(CtNewMethod.java:79)
   	at javassist.CtNewMethod.make(CtNewMethod.java:45)
   	at org.apache.dubbo.common.bytecode.ClassGenerator.toClass(ClassGenerator.java:321)
   	... 29 more
   Caused by: compile error: getExportedURLs() not found in org.apache.dubbo.registry.client.metadata.store.InMemoryWritableMetadataService
   	at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:723)
   	at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:688)
   	at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:157)
   	at javassist.compiler.ast.CallExpr.accept(CallExpr.java:46)
   	at javassist.compiler.JvstTypeChecker.atCastToWrapper(JvstTypeChecker.java:126)
   	at javassist.compiler.JvstTypeChecker.atCastExpr(JvstTypeChecker.java:98)
   	at javassist.compiler.ast.CastExpr.accept(CastExpr.java:55)
   	at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:242)
   	at javassist.compiler.CodeGen.compileExpr(CodeGen.java:229)
   	at javassist.compiler.CodeGen.atReturnStmnt2(CodeGen.java:598)
   	at javassist.compiler.JvstCodeGen.atReturnStmnt(JvstCodeGen.java:425)
   	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:363)
   	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
   	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
   	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
   	at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:391)
   	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:355)
   	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
   	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
   	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
   	at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:292)
   	at javassist.compiler.CodeGen.atMethodDecl(CodeGen.java:274)
   	at javassist.compiler.ast.MethodDecl.accept(MethodDecl.java:44)
   	at javassist.compiler.Javac.compileMethod(Javac.java:169)
   	at javassist.compiler.Javac.compile(Javac.java:95)
   
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org