Currently, I'm working with Rest and Spring. The database is MongoDB.
I have a function which returns DBcursor as the response. Data extraction from MongoDB is working fine, but the response is:
'No message body has been found for response class DBCursor'
Is there any way to solve this??