java.lang.IllegalArgumentException: can't serialize class java.time.LocalDateTime

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 Stack Overflow by nazar_art
, 2 years ago
can't serialize class com.aerlingus.ta.models.b2b.faresearch.AirSearchPrefsType$CabinPref
via Stack Overflow by zigot
, 2 years ago
can't serialize class org.apache.avro.util.Utf8
via GitHub by TomDush
, 2 years ago
can't serialize class <package>.Author
via wenda.io by Unknown author, 2 years ago
can't serialize class net.sf.json.JSONNull
java.lang.IllegalArgumentException: can't serialize class java.time.LocalDateTime
at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:299)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.