Announcement Announcement Module
Collapse
No announcement yet.
Spring data + Mongodb + saving HashMap to DB Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring data + Mongodb + saving HashMap to DB

    Hi there, I got an error, so do I need to create a converter to covert the hashmap to string and string to hashmap? or is there other ways? many thanks.

    SEVERE: Servlet.service() for servlet jsp threw exception
    org.springframework.core.convert.ConverterNotFound Exception: No converter found capable of converting from type @javax.validation.constraints.NotNull java.util.LinkedHashMap<@javax.validation.constrai nts.NotNull java.lang.String, @javax.validation.constraints.NotNull java.util.Date> to type java.lang.String
    at org.springframework.core.convert.support.GenericCo nversionService.handleConverterNotFound(GenericCon versionService.java:475)
Working...
X