Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

springboot+nacos+dubbo无法正常从nacos读取dubbo初始化配置 #2735

Closed
Rose171216 opened this issue May 5, 2020 · 4 comments
Closed
Labels
area/Dubbo Related to dubbo area/Spring Boot Related to Spring Boot

Comments

@Rose171216
Copy link

请问使用nacos作为配置中心,springboot+dubbo+nacos,这个dubbo的初始化配置比如dubbo.application.name这个配置,就不能从nacos读到,启动报错找不到这些配置,但是其他像mysql,redis这些都可以正常读到,这个应该怎么解决呢。报错如下:Caused by: java.lang.IllegalStateException: No such application config! Please add <dubbo:application name="..." /> to your spring config.

Please use Nacos as the configuration center, springboot + Dubbo + Nacos. The initialization configuration of Dubbo, such as dubbo.application.name, can't be read from Nacos. The startup error report can't find these configurations, but other configurations, such as MySQL and redis, can be read normally. How can we solve this problem. The error is as follows: caused by: java.lang.illegalstateexception: no such application config! Please add < Dubbo: application name = "..." / > to your spring config

@chuntaojun
Copy link
Collaborator

@chuntaojun chuntaojun added area/Spring Boot Related to Spring Boot area/Dubbo Related to dubbo labels May 7, 2020
@goodpp
Copy link

goodpp commented Jun 12, 2020

注意下版本,试试nacos-config-spring-boot-starter:0.2.3+

@kocall
Copy link

kocall commented Jul 31, 2020

有解决吗,我也遇到这个问题

@xiangyunup
Copy link

还没有解决这个问题吗,都 0.2.10 了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/Dubbo Related to dubbo area/Spring Boot Related to Spring Boot
Projects
None yet
Development

No branches or pull requests

5 participants