title: No mapping found for swagger-resources/configuration/ui
body: <p>I am trying to configure swagger ui in non spring boot app. I have done following things.
  1. Added Following dependencies</p>
  
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-swagger2&lt;/artifactId&gt;
          &lt;version&gt;2.1.2&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-swagger-ui&lt;/artifactId&gt;
          &lt;version&gt;2.5.0&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.webjars&lt;/groupId&gt;
          &lt;artifactId&gt;bootstrap&lt;/artifactId&gt;
          &lt;version&gt;3.3.5&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>2. Added Swagger Config class</p>
  
  <pre><code>@Configuration
  @EnableSwagger2
  @EnableWebMvc
  //@PropertySource("classpath:/swagger.properties")
  public class SwaggerConfig {
  
  @Bean
  public Docket proposalApis(){
      return new Docket(DocumentationType.SWAGGER_2)
          .groupName("test")
          .select()
              .apis(RequestHandlerSelectors.basePackage("com.test.abc"))
          .paths(PathSelectors.regex("/test1.*"))
          .build()
          .apiInfo(testApiInfo());
  }
  
  private ApiInfo testApiInfo() {
      ApiInfo apiInfo = new ApiInfoBuilder().title("Test APIs").description("GET POST PUT methods are supported ").version("V1").build();
      return apiInfo;
  }
  }
  </code></pre>
  
  <ol start="3">
  <li><p>Added following mappings :</p>
  
  <pre><code>&lt;mvc:resources mapping="swagger-ui.html" location="classpath:/META-    INF/resources/"/&gt;
  &lt;mvc:resources mapping="/webjars/**" location="classpath:/META-    INF/resources/webjars/"/&gt;
  </code></pre></li>
  </ol>
  
  <p>I am able to access following url's</p>
  
  <pre><code>    /v2/api-docs
      /swagger-resources
  </code></pre>
  
  <p>But While loading swagger-ui.html UI gets loaded and on server getting following error
  <a href="https://i.stack.imgur.com/G90x1.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/G90x1.jpg" alt="enter image description here"></a></p>
  
  <pre><code>    No mapping found for /context/swagger-resources/configuration/ui in Dispatcher servlet
  </code></pre>
  
  <p>Can someone help?</p>