Deserialization of `List<Resource>
caroffan opened this issue · comments
Your question
I can already deserialize an object Resource
without any special config, but when I try to deserialize a List<Resource>
it is not really possible. The error I get is this:
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of org.springframework.core.io.Resource (no Creators, like default constructor, exist): abstract types either need to be mapped to concrete types
But it works for one Resource so i don't uinderstand, Is this a bug ?