You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "AlbumenJ (via GitHub)" <gi...@apache.org> on 2023/03/17 05:14:52 UTC

[GitHub] [dubbo] AlbumenJ commented on issue #11822: springboot+dubbo项目,dubbo从2.7.19升级至3.1.7后启动报错,找不到ApplicationConfig类

AlbumenJ commented on issue #11822:
URL: https://github.com/apache/dubbo/issues/11822#issuecomment-1473143415

   > > > > 项目中哪里注入了ApplicationConfig吗 version:2.7.19 ApplicationConfig会默认给Spring管理
   > > > 
   > > > 
   > > > 引用到的地方挺多的,都是类似这样引用的;
   > > > ![image](https://user-images.githubusercontent.com/127729798/224978301-78ec2870-801b-4ec2-b5f2-b646a0c947e1.png)
   > > 
   > > 
   > > spring配置文件中的dubbo application这个标签还在么
   > 
   > 在的,是不是在dubbo3.x版本不能像2.7.19里面那么使用才导致的问题? 我是个程序员小白,不知道应该怎么去用他,项目中好多地方用到了dubbo的原生类,现在升了版本都不能用 ,还请大神指导一下
   
   注入 ApplicationConfig 的行为能不能删除,这个是 Dubbo 内置的配置对象,如果不是通过 Spring 注入的,不应该通过 Resource 去获取


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