Tag Archives: EnableConfigurationProperties

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 , , , , , , , , , , , , | Leave a comment