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 JIRA by Manoj Kurup, 1 year ago
json can't serialize type : class com.viditure.entities.DocRecipient
via JIRA by Manoj Kurup, 1 year ago
json can't serialize type : class com.viditure.entities.DocRecipient
via spring.io by Unknown author, 2 years ago
json can't serialize type : class org.joda.time.DateTime
via Spring JIRA by Poorna Subhash, 1 year ago
json can't serialize type : class mypackage.MyClass$UserStatus
java.lang.RuntimeException: json can't serialize type : class com.viditure.entities.DocRecipient	at com.mongodb.util.ClassMapBasedObjectSerializer.serialize(ClassMapBasedObjectSerializer.java:77)	at com.mongodb.util.JSONSerializers$MapSerializer.serialize(JSONSerializers.java:317)	at com.mongodb.util.ClassMapBasedObjectSerializer.serialize(ClassMapBasedObjectSerializer.java:79)	at com.mongodb.util.JSONSerializers$MapSerializer.serialize(JSONSerializers.java:317)	at com.mongodb.util.ClassMapBasedObjectSerializer.serialize(ClassMapBasedObjectSerializer.java:79)	at com.mongodb.util.JSON.serialize(JSON.java:55)	at com.mongodb.util.JSON.serialize(JSON.java:40)	at com.mongodb.BasicDBObject.toString(BasicDBObject.java:83)	at org.springframework.data.mongodb.core.query.Update.toString(Update.java:375)	at java.util.Formatter$FormatSpecifier.printString(Formatter.java:2838)	at java.util.Formatter$FormatSpecifier.print(Formatter.java:2718)	at java.util.Formatter.format(Formatter.java:2488)	at java.util.Formatter.format(Formatter.java:2423)	at java.lang.String.format(String.java:2797)