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

Spring JIRA | Bjorn Harvold | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Morphia can't insert class into DB

    Stack Overflow | 2 years ago | nazar_art
    java.lang.IllegalArgumentException: can't serialize class com.aerlingus.ta.models.b2b.faresearch.AirSearchPrefsType$CabinPref
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Inserting Java Object to MongoDB Collection Using Java

    wenda.io | 1 year ago
    java.lang.IllegalArgumentException: can't serialize class net.sf.json.JSONNull

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      can't serialize class java.time.LocalDateTime

      at org.bson.BasicBSONEncoder._putObjectField()
    2. MongoDB Java Driver
      BasicBSONEncoder._putObjectField
      1. org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:299)
      1 frame