Thymeleaf and SpringBoot - Failed to convert property value of type [java.lang.String] to required type [java.util.Date] for prope
问题 I am building a web application using Thymeleaf and SpringBoot, I am new to both the technologies. In my html file, there is a Date field as follows: <input type="date" th:field="*{issueDate}" /> My model class has a field corresponding to issueDate as follows: @NotNull(message = "Cannot be empty") private Date issueDate; When I input a date from the UI, I see the following exception in the browser: Failed to convert property value of type [java.lang.String] to required type [java.util.Date]