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/11/16 13:41:29 UTC

[GitHub] [dubbo] FubinSama commented on issue #6258: 从2.7.3升级到2.7.6出现 WARN extension.SpringExtensionFactory

FubinSama commented on issue #6258:
URL: https://github.com/apache/dubbo/issues/6258#issuecomment-970285862


   > 这个是由于启动时执行:DubboBootstrap构造方法获取 configManager = ApplicationModel.getConfigManager();中获取ConfigManager实例是是通过dubbo的扩展获取的: public static ConfigManager getConfigManager() { return (ConfigManager) LOADER.getExtension(ConfigManager.NAME); } 而ConfigManager 里面有setModule,setMetrics,setSsl,setMonitor 方法,通过getExtension生成对象时会自定调用执行这些方法进行装配的,而这些对象当时没有,所以就会warn
   > 
   > 只需要将这些对象创建就行了,注册到容器就行了,让dubbo装配时能过去到就行了
   
   大佬,这个要怎么去注册呢?dubbo-spring-boot-autoconfigure-compatible这个依赖里面的DubboConfigurationProperties类已经给注入了呀。但是还是抱这个警告


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