Compilation Error with jackson-kotlin-module (ExtensionKt) #1079
Unanswered
hell-storm2004
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone,
I am trying to migrate from Jackson 2.x to 3.0.3. I thought it will be simple, but it is proving a bit difficult. I got most of the classes to compile (runtime is another story, haven't reached that far yet!).
But I am stuck in one place now. I have a Java class which imports this
import static com.fasterxml.jackson.module.kotlin.ExtensionsKt.jacksonObjectMapper;Later on in the code, it initialses the
ObjectMapperlike so:ObjectMapper mapper = jacksonObjectMapper();But when change it to:
import static tools.jackson.module.kotlin.ExtensionsKt.jacksonObjectMapper;Maven/IDE starts complaining.
error: package tools.jackson.module.kotlin.ExtensionKt does not existAm I doing something wrong? Or has the class' functionality moved somewhere else?
Beta Was this translation helpful? Give feedback.
All reactions