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 albert kam, 1 year ago
json can't serialize type : class kam.albert.domain.test.post.TestConverterThatFails$MyNested
via Spring JIRA by albert kam, 1 year ago
json can't serialize type : class kam.albert.domain.test.post.TestConverterThatFails$MyNested
via Stack Overflow by ggreiner
, 2 years ago
json can't serialize type : class com.example.SomeClass
via GitHub by nfolkert-foursquare
, 2 years ago
json can't serialize type : class scala.collection.immutable.Nil$
via spring.io by Unknown author, 2 years ago
json can't serialize type : class com.excira.muchenough.MEEntityTypes
via JIRA by Sebastian Annies, 1 year ago
json can't serialize type : class java.util.UUID
java.lang.RuntimeException: json can't serialize type : class kam.albert.domain.test.post.TestConverterThatFails$MyNested	at com.mongodb.util.JSON.serialize(JSON.java:261)	at com.mongodb.util.JSON.serialize(JSON.java:210)	at com.mongodb.util.JSON.serialize(JSON.java:141)	at com.mongodb.util.JSON.serialize(JSON.java:141)	at com.mongodb.util.JSON.serialize(JSON.java:58)	at com.mongodb.BasicDBObject.toString(BasicDBObject.java:84)	at java.lang.String.valueOf(Unknown Source)	at java.lang.StringBuilder.append(Unknown Source)	at org.springframework.data.mongodb.core.MongoTemplate$12.doInCollection(MongoTemplate.java:840)	at org.springframework.data.mongodb.core.MongoTemplate$12.doInCollection(MongoTemplate.java:826)	at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:368)	at org.springframework.data.mongodb.core.MongoTemplate.doUpdate(MongoTemplate.java:826)	at org.springframework.data.mongodb.core.MongoTemplate.updateFirst(MongoTemplate.java:812)	at kam.albert.domain.test.post.TestConverterThatFails.test(TestConverterThatFails.java:50)	at kam.albert.domain.test.post.TestConverterThatFails.main(TestConverterThatFails.java:30)