java.time.LocalDate cannot be cast to java.util.Date
ERROR ?
Caused by: java.lang.ClassCastException: java.time.LocalDate cannot be cast to java.util.Date
Solution :
Caused by: java.lang.ClassCastException: java.time.LocalDate cannot be cast to java.util.Date
Solution :
java.util.Date date = java.sql.Date.valueOf(localDate);
Commentaires
Enregistrer un commentaire