You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somhow the setObjectMapper funktion exspects a org.codehaus.jackson.map.ObjectMapper on the StdObjectMapperFactory, but the Ektorp ObjectMapperFactory uses the com.fasterxml.jackson.map.ObjectMapper.
So it cannot be casted to than.
Here the error message:
error: method setObjectMapper in class StdObjectMapperFactory cannot be applied to given types;
required: com.fasterxml.jackson.databind.ObjectMapper
found: org.codehaus.jackson.map.ObjectMapper
reason: actual argument org.codehaus.jackson.map.ObjectMapper cannot be converted to com.fasterxml.jackson.databind.ObjectMapper by method invocation conversion
Greetz
Jack10
The text was updated successfully, but these errors were encountered:
You probably have an Jackson version clash. org.codehaus.jackson.map.ObjectMapper is the package name for Jackson < 2.0 and com.fasterxml.jackson.databind.ObjectMapper is Jackson 2.0 and above.
If you must you the older Jackson release, you will have to use Ektorp 1.2.2
Hi Helun,
I got an issue where I'd like to set the ObjectMapper to disable "Fail on unkown properties"
well: like this
Somhow the setObjectMapper funktion exspects a org.codehaus.jackson.map.ObjectMapper on the StdObjectMapperFactory, but the Ektorp ObjectMapperFactory uses the com.fasterxml.jackson.map.ObjectMapper.
So it cannot be casted to than.
Here the error message:
Greetz
Jack10
The text was updated successfully, but these errors were encountered: