dxa-web-application-java icon indicating copy to clipboard operation
dxa-web-application-java copied to clipboard

DXA version 2.2.18. Upgrade to Jackson 2.13.4 results in the exception: Cannot get a source converter for class java.util.LinkedHashMap

Open CodingAnoop opened this issue 3 years ago • 1 comments

Using DXA version 2.2.18. When I tried to upgrade to Jackson 2.13.4, getting the following exception. Jackson 2.10.0 works fine. Does DXA not support Jackson 2.13.4?:

[http-nio-8080-exec-10] WARN c.s.d.t.m.c.GenericSemanticModelDataConverter - Cannot get a source converter for class java.util.LinkedHashMap [http-nio-8080-exec-10] ERROR c.s.w.c.i.mapping.SemanticMapperImpl - Exception while getting field data.... com.sdl.webapp.tridion.fields.exceptions.UnsupportedTargetTypeException: Unsupported target class: java.util.LinkedHashMap at com.sdl.dxa.tridion.mapping.converter.GenericSemanticModelDataConverter.getSourceConverter(GenericSemanticModelDataConverter.java:82) at com.sdl.dxa.tridion.mapping.converter.GenericSemanticModelDataConverter.convert(GenericSemanticModelDataConverter.java:72) at com.sdl.dxa.tridion.mapping.impl.DefaultSemanticFieldDataProvider.getFieldData(DefaultSemanticFieldDataProvider.java:138)

CodingAnoop avatar Dec 01 '22 07:12 CodingAnoop

DXA version 2.2.28 has already been updated to using Jackson 2.13.4 and also the latest version of Spring MVC.

dxasupport avatar Dec 01 '22 09:12 dxasupport