dstarcev
08/10/2016, 9:26 AMDefaultJackson2JavaTypeMapper
. It somehow used different classloader internally. I think class MessageDTO
was loaded twice and that was the reason why types didn’t match. However, when I converted the code of DefaultJackson2JavaTypeMapper
to Kotlin and substituted the original class with the rewritten one, everything started working fine. 🤔