title: Bootstrap 4 styles not loaded using spring boot with thymeleaf
body: <p>I'm having problems with Bootstrap 4: styles are not loaded into page. I'm using Spring Boot, Maven and THymeleaf.</p>
  
  <p>In my HTML file i have</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" th:href="@{/webjars/bootstrap/4.0.0-beta.2/css/bootstrap.min.css}" /&gt;
  </code></pre>
  
  <p>I have also in my Maven dependencies</p>
  
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;org.webjars&lt;/groupId&gt;
          &lt;artifactId&gt;bootstrap&lt;/artifactId&gt;
          &lt;version&gt;4.3.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>When, for example, i try to add a bootstrap card or button I see them in basic html style.
  So, what's my problem?
  thanks for help</p>