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

使用application.yml配置dubbo时出错 #770

Open
xishian opened this issue Jan 6, 2021 · 0 comments
Open

使用application.yml配置dubbo时出错 #770

xishian opened this issue Jan 6, 2021 · 0 comments

Comments

@xishian
Copy link

xishian commented Jan 6, 2021

当配置文件采用yml格式的时候,base-packages是一个Set,所以会自动补全成这样的形式,但是服务并没有被扫描到

dubbo:
  scan:
    base-packages:
      - io.example.test.service

采用这种写法就可以正常工作:

dubbo:
  scan:
    base-packages: io.example.test.service

demo是这里面的https://github.com/apache/dubbo-spring-boot-project/blob/master/README_CN.md
把application.properties换成application.yml之后就有问题了

@titi1231 titi1231 mentioned this issue Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant