title: Issue with Static resources when extending Spring Boot WebMvcConfigurationSupport
body: <p>I extended WebMvcConfigurationSupport to implement an api versioning scheme - i.e. </p>
  
  <pre><code>@Configuration
  public class ApiVersionConfiguration extends WebMvcConfigurationSupport {
  
      @Override
      public RequestMappingHandlerMapping requestMappingHandlerMapping() {
          return new ApiVersionRequestMappingHandlerMapping(readDateToVersionMap());
      }}
  </code></pre>
  
  <p>This uses a custom handler mapping to version the api and works quite nicely.  </p>
  
  <p>However it also seems to disable the @EnableAutoConfiguration bean so that now static resources aren't served (as mentioned in this question <a href="https://stackoverflow.com/questions/22267191/is-it-possible-to-extend-webmvcconfigurationsupport-and-use-webmvcautoconfigurat">Is it possible to extend WebMvcConfigurationSupport and use WebMvcAutoConfiguration?</a>).</p>
  
  <p>Ok, I thought, let's just add a resource handler to the class above - i.e.</p>
  
  <pre><code>@Configuration
  public class ApiVersionConfiguration extends WebMvcConfigurationSupport {
      @Override
      public void addResourceHandlers(ResourceHandlerRegistry registry) {
          registry.addResourceHandler("classpath:/public/").addResourceLocations("/");
      }
  
      @Override
      public RequestMappingHandlerMapping requestMappingHandlerMapping() {
          return new ApiVersionRequestMappingHandlerMapping(readDateToVersionMap());
      }}
  </code></pre>
  
  <p>However.. this isn't working..? I get this error when I browse to /index.html:</p>
  
  <pre><code>No mapping found for HTTP request with URI [/index.html] in DispatcherServlet with name 'dispatcherServlet' 
  </code></pre>
  
  <p>..If I disable this class then these resources are served just fine by @EnableAutoConfiguration magic.</p>
  
  <p>I've been playing with various options to serve static content having extended the WebMvcConfigurationSupport and thus far no success.</p>
  
  <p>Any ideas?</p>