title: MvcConf in SpringBoot application
body: <p>I have a basic SpringBoot app. using Spring Initializer, embedded Tomcat, Thymeleaf template engine, and package as an executable JAR file.</p>
  
  <p>I have this property defined in the application.properties</p>
  
  <pre><code>server.contextPath=/tdk
  </code></pre>
  
  <p>I added this class in the config package:</p>
  
  <pre><code>@Configuration
  public class MvcConf extends WebMvcConfigurationSupport {
  
  }
  </code></pre>
  
  <p>and then the application is not able to find any resource. Removing the class everything is fine again:</p>
  
  <pre><code>[THYMELEAF] TEMPLATE ENGINE CONFIGURED OK
  27932 [http-nio-8080-exec-1] INFO  org.thymeleaf.TemplateEngine - [THYMELEAF] TEMPLATE ENGINE INITIALIZED
  28150 [http-nio-8080-exec-3] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/tdk/css/styles.css] in DispatcherServlet with name 'dispatcherServlet'
  28150 [http-nio-8080-exec-2] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/tdk/fonts/font-awesome/css/font-awesome.min.css] in DispatcherServlet with name 'dispatcherServlet'
  28150 [http-nio-8080-exec-5] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/tdk/css/side-menu.css] in DispatcherServlet with name 'dispatcherServlet'
  28151 [http-nio-8080-exec-4] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/tdk/css/jquery.mCustomScrollbar.css] in DispatcherServlet with name 'dispatcherServlet'
  28152 [http-nio-8080-exec-6] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/tdk/css/login.css] in DispatcherServlet with name 'dispatcherServlet'
  28153 [http-nio-8080-exec-7] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/webjars/bootstrap/3.3.7-1/css/bootstrap.min.css] in DispatcherServlet with name 'dispatcherServlet'
  28209 [http-nio-8080-exec-8] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/webjars/jquery/3.2.0/jquery.min.js] in DispatcherServlet with name 'dispatcherServlet'
  28210 [http-nio-8080-exec-9] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/tdk/js/jquery.floatThead.min.js] in DispatcherServlet with name 'dispatcherServlet'
  28210 [http-nio-8080-exec-10] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/tdk/js/jquery.mCustomScrollbar.concat.min.js] in DispatcherServlet with name 'dispatcherServlet'
  28215 [http-nio-8080-exec-7] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/tdk/images/login.png] in DispatcherServlet with name 'dispatcherServlet'
  28216 [http-nio-8080-exec-1] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/webjars/bootstrap/3.3.7-1/js/bootstrap.min.js] in DispatcherServlet with name 'dispatcherServlet'
  28232 [http-nio-8080-exec-4] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/tdk/js/jquery.mCustomScrollbar.concat.min.js] in DispatcherServlet with name 'dispatcherServlet'
  28262 [http-nio-8080-exec-5] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/webjars/jquery/3.2.0/jquery.min.js] in DispatcherServlet with name 'dispatcherServlet'
  28271 [http-nio-8080-exec-2] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/tdk/webjars/bootstrap/3.3.7-1/js/bootstrap.min.js] in DispatcherServlet with name 'dispatcherServlet'
  </code></pre>