By default, where does Spring Boot expect views to be stored?
<p>I'm experimenting on re-writing my configuration-heavy, vanilla Spring MVC project using Spring Boot. I started a brand new Spring Boot project in IntelliJ using the Spring Boot Initiaizer and I'm going the route of minimal Java-based configuration. Lots of tutorials point out that the default main class generated is sufficient and that <code>@SpringBootApplication</code> has everything included. I got a sample REST Controller to work and return a serialized object as JSON, but it appears getting a view to show is proving difficult. My structure is as follows, with everything default other than the webapps directory which I created.</p>

<pre><code>src
`-main
   `-java
   `-resources
     `-static
     `-templates
   `-webapp
     `-WEB-INF
        `-home.jsp
</code></pre>

<p>The controller is plain simple.</p>

<pre><code>@Controller
public class ViewMaster {
    @RequestMapping("/home")
    public String home() {
        return "home";
    }
}
</code></pre>

<p>Without any configuration, I'd like to know where Spring Boot expects the views to be stored and with what extension (html?). I've also tried to include the following in <code>application.properties</code> but I still get a 404 error. Moving the WEB-INF directory or just the html file around in resources didn't help either.</p>

<pre><code>spring.mvc.view.prefix=/WEB-INF/
spring.mvc.view.suffix=.jsp
</code></pre>

<p>I've also tried including these dependencies in my pom.xml without any effect.</p>

<pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.apache.tomcat.embed&lt;/groupId&gt;
    &lt;artifactId&gt;tomcat-embed-jasper&lt;/artifactId&gt;
    &lt;scope&gt;provided&lt;/scope&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
    &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
    &lt;artifactId&gt;jstl&lt;/artifactId&gt;
&lt;/dependency&gt;
</code></pre>

<p>I must be missing something painfully obvious here so appreciate if someone can point that out!</p>