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

无法使用 NacosConfigurationProperties #1514

Closed
9monsters opened this issue Jun 9, 2020 · 8 comments
Closed

无法使用 NacosConfigurationProperties #1514

9monsters opened this issue Jun 9, 2020 · 8 comments

Comments

@9monsters
Copy link
Contributor

我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
We recommend using English. If you are non-native English speaker, you can use the translation software.

Which Component
Nacos Config

Describe the bug
使用 @NacosConfigurationProperties 读取不到配置

@NacosInjected 也为空

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Additional context
Add any other context about the problem here.
MacOS 、Java8 、 Version 2.2.1.RELEASE

@yuhuangbin
Copy link
Collaborator

这是nacos springboot的特性,spring cloud这边暂时不能使用。

@9monsters
Copy link
Contributor Author

这是nacos springboot的特性,spring cloud这边暂时不能使用。

如果我想手动读取配置,就没法处理,只能使用 extension config 方法吗?

@inkpark
Copy link

inkpark commented Jun 18, 2020

请问如何绑定 List<> 或者 Map<> 类型的配置?

@MentosL
Copy link

MentosL commented Jun 24, 2022

请问如何绑定 List<> 或者 Map<> 类型的配置?

请问 map类型的结构配置解决了吗

@griffenliu
Copy link

牛,可以把文档写的更清楚一些吗?翻遍了文档,才看到这个issue,确实是因为spring cloud无法使用的原因吗?那至少在类的注释上声明一下吧。。。

@xdewx
Copy link

xdewx commented Oct 6, 2024

探索了好久,就是因为这个一直搞不懂为什么配置无法加载,不能支持下吗

@FKX1213
Copy link

FKX1213 commented Dec 9, 2024

现在是不是还没解决,压根无法读取到配置中心的配置文件

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

7 participants