Spring Boot: read list from yaml using @Value or @ConfigurationProperties
use comma separated values in application.yml corsHostsAllow: http://foo1/, http://foo2/, http://foo3/ java code for access @Value(“${corsHostsAllow}”) String[] corsHostsAllow I tried and succeeded 😉