title: spring-boot auto-configuration ignores application.yml
body: <p>placed in the classpath root (src/main/resources).</p>
  
  <p>a application.properties file in the same place is properly used.</p>
  
  <p>this is the code:</p>
  
  <pre><code>@Controller
  @EnableAutoConfiguration
  public class TestResource {
  
      @RequestMapping("/")
      public @ResponseBody Map&lt;String, String&gt; test() {
          return Collections.singletonMap("text", "test text");
      }
  
      public static void main(String[] args) {
          SpringApplication.run(TestResource.class, args);
      }
  
  }
  </code></pre>