java.lang.RuntimeException: json can't serialize type : class org.springframework.data.mongodb.core.query.GeoCommand

Spring JIRA | Tim Xi | 2 years 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

    Using an Enum in a where clause in mongodb - Spring Forum

    spring.io | 1 year ago
    java.lang.RuntimeException: json can't serialize type : class com.excira.muchenough.MEEntityTypes
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.RuntimeException

      json can't serialize type : class org.springframework.data.mongodb.core.query.GeoCommand

      at com.mongodb.util.ClassMapBasedObjectSerializer.serialize()
    2. MongoDB Java Driver
      JSON.serialize
      1. com.mongodb.util.ClassMapBasedObjectSerializer.serialize(ClassMapBasedObjectSerializer.java:77)
      2. com.mongodb.util.JSONSerializers$MapSerializer.serialize(JSONSerializers.java:317)
      3. com.mongodb.util.ClassMapBasedObjectSerializer.serialize(ClassMapBasedObjectSerializer.java:79)
      4. com.mongodb.util.JSON.serialize(JSON.java:55)
      5. com.mongodb.util.JSON.serialize(JSON.java:40)
      5 frames
    3. com.everbridge.platform
      Test.main
      1. com.everbridge.platform.filestore.test.Test.main(Test.java:22)
      1 frame