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 Konstantin Lutovich, 1 year ago
via Spring JIRA by Konstantin Lutovich, 2 years ago
via Stack Overflow by pama
, 7 months ago
can't serialize class org.springframework.data.mongodb.core.query.GeoCommand
via Spring JIRA by Balazs Peterfi, 2 years ago
can't serialize class java.time.LocalDateTime
via Spring JIRA by Balazs Peterfi, 1 year ago
can't serialize class java.time.LocalDateTime
via GitHub by jyemin
, 2 years ago
java.lang.IllegalArgumentException: can't serialize class MatchAfterProjectIssue$Age	at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:272)	at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:173)	at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:228)	at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:173)	at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:228)	at org.bson.BasicBSONEncoder.putIterable(BasicBSONEncoder.java:297)	at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:236)	at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:173)	at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:119)	at com.mongodb.DefaultDBEncoder.writeObject(DefaultDBEncoder.java:27)	at com.mongodb.OutMessage.putObject(OutMessage.java:289)	at com.mongodb.OutMessage.writeQuery(OutMessage.java:211)	at com.mongodb.OutMessage.query(OutMessage.java:84)	at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:285)	at com.mongodb.DB.command(DB.java:262)	at com.mongodb.DB.command(DB.java:244)	at com.mongodb.DB.command(DB.java:301)	at com.mongodb.DB.command(DB.java:199)	at org.springframework.data.mongodb.core.MongoTemplate$1.doInDB(MongoTemplate.java:323)	at org.springframework.data.mongodb.core.MongoTemplate$1.doInDB(MongoTemplate.java:321)	at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:391)	at org.springframework.data.mongodb.core.MongoTemplate.executeCommand(MongoTemplate.java:321)	at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1328)	at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1305)