Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

org.springframework.data.mapping.model.mappinginstantiationexception: failed to instantiate java.util.list using constructor no_constructor with arguments

This issue occurs when serialization of the Object we are trying to store has a complex data type or a custom class with no appropriate convertors available, The solution is to provide a custom converter, that would store our data representation exactly as what the constructor expects.
 
PREVIOUS NEXT
Tagged: #failed #instantiate #constructor #arguments
ADD COMMENT
Topic
Name
2+5 =