I\'m trying to inject external.yml properties into a POJO using @ConfigurationProperties and importing my external.yml file using
external.yml
@ConfigurationProperties
I believe it has to do with your yml formatting. try this
external.yml bla: bkdfjgkdf persons: - age: 12 name: bla1 args: a0: a0dev a1: a1dev a2: a2dev - age: 12 name: bla2 args: b0: b0dev b1: b1dev b2: b2dev strings: bla, bla1