title: How to get map of settings from application.yml?
body: <p>Here is my application.yml config:</p>
  <pre><code>spring:
    cache:
      cache-names: all_config_bundle, all_config_dependence, config_plan
      caffeine.spec: maximumSize=100, expireAfterAccess=0s
      caches:
        all_config_bundle: maximumSize=100, expireAfterAccess=0s
        all_config_dependence: maximumSize=100, expireAfterAccess=0s
        config_plan: maximumSize=100, expireAfterAccess=0s
  </code></pre>
  <p>I need to group them, that's why I add another part of settings. Here is my configuration class:</p>
  <pre><code>@Configuration
  @EnableConfigurationProperties(CacheProperties.class)
  @Setter
  public class CacheConfig {
  
      private Map&lt;String, String&gt; caches;
  }
  </code></pre>
  <p><code>CacheProperties</code> already has a <code>&quot;spring.cache&quot;</code> prefix, so I only added a name of my group.
  I still get &quot;null&quot; in my map. What is my mistake?</p>