org.springframework.data.mapping.model.MappingException: Could not parse given String to save into a JSON document!

Spring JIRA | Pedro Rodriguez | 3 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.

    Root Cause Analysis

    1. org.springframework.data.mapping.model.MappingException

      Could not parse given String to save into a JSON document!

      at org.springframework.data.mongodb.core.MongoTemplate.doSave()
    2. Spring Data MongoDB - Core
      MongoTemplate.save
      1. org.springframework.data.mongodb.core.MongoTemplate.doSave(MongoTemplate.java:809)
      2. org.springframework.data.mongodb.core.MongoTemplate.save(MongoTemplate.java:750)
      2 frames