title: Spring: @NestedConfigurationProperty List in @ConfigurationProperties
body: <p>Hi I am trying to get the following configuration up and running.</p>
  
  <pre><code>@ConfigurationProperties(prefix="my")
  public class Config {
  
      @NestedConfigurationProperty
      private List&lt;ServerConfiguration&gt; servers = new ArrayList&lt;ServerConfiguration&gt;();
  
      public List&lt;ServerConfiguration&gt; getServers() {
          return this.servers;
      }
  }
  
  @ConfigurationProperties(prefix = "server")
  public class ServerConfiguration {
      private String name;
      private String description;
  }
  </code></pre>
  
  <p>So, I want to have multiple server configs nested in objects.
  I tried setting the properties with the following properties file. I can see that the list is added up by items but the members of the server are never set (name, description)</p>
  
  <pre><code>my.servers[0].name=test
  my.servers[0].server.name=test
  my.servers[1].name=test
  my.servers[1].server.name=test
  </code></pre>