mardi 5 septembre 2017

argument type mismatch - had objects of type "java.util.ArrayList" but expected signature "java.time.LocalDate"

I have data a map which has bunch of data elements which have corresponding data in it. Map also has few date entries in it.

When I pass this data over rest call on receiving side dob(date) value coming as [2017,09,23] -> how do I ignore this foramt?

For this reason I am getting the argument type mismatch - had objects of type "java.util.ArrayList" but expected signature "java.time.LocalDate"

  private Map<String, Object> data;
data.put("dob", "2017-09-23");
data.put("name", "ssl");
data.put("city", "CA")




Aucun commentaire:

Enregistrer un commentaire