-
Recent Posts
- How to generate self-signed X.509 certificates for local development (Nginx)
- Gpg – can’t connect to `/home/${USER)/.gnupg/S.gpg-agent’: No such file or directory
- Oracle Null Safe Comparison (Spoiler alert: SYS_OP_MAP_NONNULL)
- Git – Moving folders with history and all related branches
- Installation of Oracle SQL Developer to Ubuntu
Categories
Blog Stats
- 362,240 hits
Archives
Blogroll
Meta
Tag Archives: Value
Injecting List with Spring from yaml
In my recent project, I need to fill a list from configuration file. With my old habits I just tried to use @Value annotation and my code just broke. Here is what I’ve tried first: application.yaml: AppRunner.java: However, it just … Continue reading →
Posted in Java
|
Tagged Configuration, ConfigurationProperties, EnableConfigurationProperties, IllegalArgumentException, Java, JUnit, List, Placehoder, Properties, Spring, Spring Boot, Value, Yaml
|
1 Comment