title: Spring Boot Thymeleaf display not working
body: <p>I've just created a very basic Spring app using Thymeleaf, and I have no idea why it's not working. I can't even display my <code>&lt;h1&gt;</code> tag.</p>
  
  <p>I basically get everything displayed but what I need to be displayed via Thymeleaf. The thing is I've used it before and it worked just fine. I have no idea what's wrong here and I've literaly spent the whole day looking for the solution.</p>
  
  <p>I tried to upgrade my Java JDK, doesn't work (not even sure it has anything to do with it), currently using STS 4, I also tried on Netbeans 11, same result. I've added all the Thymeleaf dependencies that exist to my <code>pom.xml</code>, and I just ran out of ideas. Even in my console log I don't get anything, no exception, no warning, just nothing. </p>
  
  <p>I'm aiming to program something a bit complex, so if I can't even start with such a basic stuff, I won't go that far.</p>
  
  <p>Hopefully someone will help me find the solution cause I just don't know what to do anymore.</p>
  
  <p>NB: I'm using Ubuntu 18.04</p>
  
  <p>The dependencies in my pom.xml:</p>
  
  <pre class="lang-xml prettyprint-override"><code>    &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-devtools&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.jena&lt;/groupId&gt;
              &lt;artifactId&gt;apache-jena-libs&lt;/artifactId&gt;
              &lt;type&gt;pom&lt;/type&gt;
              &lt;version&gt;3.13.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.thymeleaf&lt;/groupId&gt;
              &lt;artifactId&gt;thymeleaf&lt;/artifactId&gt;
              &lt;version&gt;3.0.9.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.thymeleaf&lt;/groupId&gt;
              &lt;artifactId&gt;thymeleaf-spring4&lt;/artifactId&gt;
              &lt;version&gt;3.0.9.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-thymeleaf&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.projectlombok&lt;/groupId&gt;
              &lt;artifactId&gt;lombok&lt;/artifactId&gt;
              &lt;optional&gt;true&lt;/optional&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.junit.vintage&lt;/groupId&gt;
                      &lt;artifactId&gt;junit-vintage-engine&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
  </code></pre>
  
  <p>My Controller :</p>
  
  <pre class="lang-java prettyprint-override"><code>    import java.util.List;
  
  import org.springframework.stereotype.Controller;
  import org.springframework.ui.Model;
  import org.springframework.web.bind.annotation.RequestMapping;
  
  
  import com.semweb.bikeproject.model.Station;
  
  @Controller
  public class BikeController {
  
      private FusekiService fusekiService;
  
      @RequestMapping("/index")
      public String bike(Model model) {
  
          model.addAttribute("top", "TOP TOP MANI");
  
  
          return "index";
      }
  
  }
  </code></pre>
  
  <p>my index.html template</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html xmlns:th="http://www.thymeleaf.org"&gt;
  &lt;meta charset="UTF-8"&gt;
  &lt;body&gt;
  
      &lt;h1 th:text="${top}"&gt;&lt;/h1&gt;
  
      &lt;div id="googleMap" style="width:100%;height:700px;"&gt;
      &lt;/div&gt;
      &lt;form&gt;
          &lt;input type="button" value="Click me" onclick="msg()"&gt;
      &lt;/form&gt;
  
      &lt;script&gt;
  
          var mapProp;
          var map;
          function myMap() {
          mapProp= {
              center:new google.maps.LatLng(51.508742,-0.120850),
              zoom:5,
          };
  
          map = new google.maps.Map(document.getElementById("googleMap"),mapProp);
          }
  
          function msg() {
              map.setCenter({lat: -34, lng: 151});
              map.setZoom(12);
          }
      &lt;/script&gt;
  
      &lt;script src="https://maps.googleapis.com/maps/api/js?key=AIzaSallback=myMap"&gt;&lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt; 
  </code></pre>