title: Error resolving template "/index.html", template might not exist or might not be accessible by any of the configured Template Resolvers
body: <p>I am trying to resolve a simple index.html file with spring-boot. If I put in localhost:8080/index.html it resolves, or I get White Error Page if I do not.</p>
  
  <p>I have it posted on GIT; It is a very simple app:<a href="https://github.com/drewjocham/Portfolio.git" rel="nofollow noreferrer">Git Hub Link</a></p>
  
  <p>The issue seem to be the model:</p>
  
  <p><a href="https://i.stack.imgur.com/noQAE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/noQAE.png" alt="enter image description here"></a></p>
  
  <p>Form Model:</p>
  
  <pre><code>@Entity
  @Table(name="applicant")
  public class FormModel {
  
      @Id
      @GeneratedValue(strategy = GenerationType.AUTO)
      private int id;
      private String name;
      @Email
      private String email;
      @Size(min=2, max=200)
      private String description;
  
      public String getName() {
          return name;
      }
  
      @Required
      public void setName(String name) {
          this.name = name;
      }
  
      public String getEmail() {
          return email;
      }
  
      @Required
      public void setEmail(String email) {
          this.email = email;
      }
  
      public String getDescription() {
          return description;
      }
  
      @Required
      public void setDescription(String description) {
          this.description = description;
      }
  }
  </code></pre>
  
  <p>Home Controller:</p>
  
  <pre><code>@RestController
  public class Home {
  
      @RequestMapping(value = "/", method = {RequestMethod.GET, RequestMethod.POST} )
      public ModelAndView index(){
  
          ModelAndView modelAndView = new ModelAndView("/index.html");
  
          return modelAndView;
      }
  
  }
  </code></pre>