I\'ve got a class which contains an atttribute of java.time.LocalDateTime type.
public class MyClass{ // ... private LocalDateTime fecha; // ... } >
I know that this one is a old issue, but for the future, who is with the same problem can use this solution:
default void delByFecha(@RequestParam(name = "date") @DateTimeFormat(iso = ISO.DATE) LocalDate date)
It's works perfectly!