Cannot get validation working with Spring Boot and Thymeleaf
问题 I have a Spring Boot application (using version 1.2.3) with 1 controller that shows a form. This all works fine, but now I want to add validation. I have this method in my controller: @RequestMapping(value = "/licensing", method = RequestMethod.POST) public String doRegistration( @Valid CustomerLicenseRegistration customerLicenseRegistration, Model model, BindingResult bindingResult ) { if( bindingResult.hasErrors()) { logger.debug( "There are errors! {}", bindingResult ); return "customer