title: I can't display image in HTML through Thymeleaf in Spring
body: <p>I do an example from Spring in Action 5. I try to display the homepage with an image. When I start localhost:8080 I see the homepage, but don't see image on it.</p>
  
  <p>I enter HTML from the book:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"&gt;
  &lt;head&gt;
      &lt;title&gt;Taco Cloud&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;h1&gt;Welcome to...&lt;/h1&gt;
      &lt;img th:src="@{/images/TacoCloud.png}"/&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And I add an image in my project in Eclipse: <a href="https://i.stack.imgur.com/rvbhO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rvbhO.png" alt="project explorer"></a></p>
  
  <p>Add HomeController class:</p>
  
  <pre><code>package tacos;
  
  import org.springframework.stereotype.Controller;
  import org.springframework.web.bind.annotation.GetMapping;
  
  @Controller
  public class HomeController {
      @GetMapping("/")
      public String home() {
          return "home";
      }
  }
  </code></pre>
  
  <p>On display, I get next: <a href="https://i.stack.imgur.com/bAR69.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bAR69.png" alt="enter image description here"></a></p>