java - How to bind Spring cloud config values to @ConfigurationProperties object? -


i trying populate @configurationproperties-annotated class properties yaml file on cloud config server (jhipster registry, specifically).

the application connecting server , reading correct file, when either server or file unavailable, exception either missing host or unexpected empty file.

however, cannot access of properties in file.

i trying populate @configurationproperties object, of fields null.

additionally, trying use @value of properties in file throws error property placeholders aren't found.

i've set spring.cloud.config.name , profile values match format expected according jhipster docs.

the issue turned out erroneous configuration, problem resolved removing special characters application name specified in cloud config bootstrap.yml.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -