title: Spring - Cannot resolve MVC "view" thymeleaf
body: <p>I got a simple <code>HomeController.class</code>:</p>
  <pre><code>package com.example.tacos;
  
  import org.springframework.stereotype.Controller;
  import org.springframework.web.bind.annotation.GetMapping;
  
  @Controller
  public class HomeController {
  
      @GetMapping(&quot;/&quot;)
      public String home() {
          return &quot;home&quot;;
      }
  }
  </code></pre>
  <p>Also I got a template called <code>home.html</code></p>
  <pre><code>&lt;!DOCTYPE HTML&gt;
      &lt;head&gt;
      &lt;title&gt;Getting Started: Serving Web Content&lt;/title&gt;
          &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;p&gt;Hey&lt;/p&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>Anyway I'm getting 404 in the browser and IDE's telling me Cannot resolve MVC &quot;view&quot; as you can see on the screen</p>
  <p><strong>Folder Structure:</strong>
  <a href="https://i.stack.imgur.com/7S4tr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7S4tr.png" alt="Folder Structure" /></a></p>
  <p><strong>Browser:</strong>
  <a href="https://i.stack.imgur.com/FosAw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FosAw.png" alt="Browser" /></a></p>