title: Not able to use th:field of thymeleaf
body: <p>I'm trying to develop a project with spring boot which will be used by employees to applicate for day off or vacations, i am also using crud operations as Rest web services, but i'm having a problem with the th:field of thymeleaf which generates the error:
  org.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor' (template: "admin/home" - line 81, col 54)
  Below you find the code of the controller and the html</p>
  
  <pre><code>@GetMapping("/application")
  public String applicationForm(Model model) {
      model.addAttribute("application", new Application());
      return "home";
  }
  
  @RequestMapping(value="/application", method=RequestMethod.POST)
  public String applicationSubmit(@ModelAttribute Application application, Model model, BindingResult bindingResult, MultipartHttpServletRequest request) throws IOException {
      if (bindingResult.hasErrors()) 
          return "home";
  
      model.addAttribute("application", application);
  
      return "result";
  }
  
  &lt;form action="#" th:action="@{'createApplication'}" th:object="${application}" method="post"&gt;
  
              Description: &lt;input type="text" id="description" th:field="*{description}"/&gt;    
              From Date: &lt;input type="text" id="from" th:field="*{fromDate}" /&gt;
              To Date: &lt;input type="text" id="to" th:field="*{toDate}"/&gt;
  
              &lt;button type="submit" class="btn btn-primary"&gt;Submit&lt;/button&gt;
  
              &lt;/form&gt;
  </code></pre>