Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Bjorn Harvold, 1 year ago
json can't serialize type : class java.time.LocalDate
via Spring JIRA by Bjorn Harvold, 1 year ago
json can't serialize type : class java.time.LocalDate
via Spring JIRA by yami.veranes, 1 year ago
json can't serialize type : class database.models.revision.DocumentManualRevision$State
via GitHub by pdirksen
, 2 years ago
json can't serialize type : class de.cebitec.gendb.persistence.TestFeature
java.lang.RuntimeException: json can't serialize type : class java.time.LocalDate	at com.mongodb.util.ClassMapBasedObjectSerializer.serialize(ClassMapBasedObjectSerializer.java:77)	at com.mongodb.util.JSONSerializers$MapSerializer.serialize(JSONSerializers.java:319)	at com.mongodb.util.ClassMapBasedObjectSerializer.serialize(ClassMapBasedObjectSerializer.java:79)	at com.mongodb.util.JSON.serialize(JSON.java:54)	at com.mongodb.util.JSON.serialize(JSON.java:40)	at com.mongodb.BasicDBObject.toString(BasicDBObject.java:97)	at java.lang.String.valueOf(String.java:2979)	at java.lang.StringBuilder.append(StringBuilder.java:131)	at org.springframework.data.mongodb.core.query.Criteria.setValue(Criteria.java:679)	at org.springframework.data.mongodb.core.query.Criteria.getCriteriaObject(Criteria.java:612)	at org.springframework.data.mongodb.core.query.Criteria.elemMatch(Criteria.java:522)