I was using wildfly8
which has jackson.core
in the 2.5 version, now I was migrating to wildfly11
with the 2.9 version of the jackson.core
. After upgrading the jackson dependency, I am getting the exception below.
java.lang.NoSuchMethodError: com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.getOutputContext()Lcom/fasterxml/jackson/core/json/JsonWriteContext
How can I fix it without downgrading jackson to the previous version?