Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Compilation Error with jackson-kotlin-module (ExtensionKt)#1079

Unanswered
hell-storm2004 asked this question inQ&A
Discussion options

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 theObjectMapper like 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 exist

Am I doing something wrong? Or has the class' functionality moved somewhere else?

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@hell-storm2004

[8]ページ先頭

©2009-2025 Movatter.jp