Called: org.springframework.data.mapping.model.MappingException: metadata metadata found for java.lang.Object on org.springframework.data.couchbase.core.convert.MappingCouchbaseConverter.read (MappingCouchbaseConverter.java:140)
I get this error when trying to get a document from my couchbase server. The document is a simple JSON object with a nested object inside, as well as lists of JSON objects. I can get the document successfully when the document contains only lists, but not when a nested object is present.
Should I define any nested object as a java class for couchbase and spring for collaboration, or am I missing something.
source share