How to bind Spring cloud config values to @ConfigurationProperties object?
问题 I am trying to populate a @ConfigurationProperties -annotated class with properties from a yaml file on my cloud config server (Jhipster registry, specifically). The application is connecting to the server and reading the correct file, as when either the server or the file is unavailable, I get an exception either for the missing host or an unexpected empty file. However, I cannot access any of the properties in the file. I am primarily trying to populate a @ConfigurationProperties object,