SpringBoot 2 migration ConfigurationProperties Failed to bind property to String[]
问题 I just migrate from Spring boot 1.5.8 to 2.0.0 I solved most of migration errors, but I have no idea for this: @Configuration public class LdapConfiguration { @Bean @ConfigurationProperties(prefix = "ldap") public LdapContextSource contextSource() { return new LdapContextSource(); } @Bean(name = "ldapTemplate") public LdapTemplate ldapTemplate(ContextSource contextSource) { return new LdapTemplate(contextSource); } } My custom values (all variables are var env property, this is why the