question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jackson-databind 2.9.1 includes old version of jackson-core and jackson-annotations

See original GitHub issue
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.1:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0:compile
[INFO] |  \- com.fasterxml.jackson.core:jackson-core:jar:2.8.10:compile

Problem caused will be attached later. Workaround is to explicitly declare latest dependencies to override them.

        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-core</artifactId>
            <version>2.9.1</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-annotations</artifactId>
            <version>2.9.1</version>
        </dependency>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
cowtowncodercommented, Sep 28, 2017

@codingsince1985 Ah. Hmmh. That makes more sense. Interesting… there’s some unfortunate interaction there between definition of jackson.version by jackson-parent and spring boot. I don’t know what would be the best way to resolve that.

One thing that might help would be to use jackson-bom project:

http://mvnrepository.com/artifact/com.fasterxml.jackson/jackson-bom

either by importing it (it’s a pom artifact designed to provide consistent set of versions), or using as parent pom. Either way would give you dependencyManagement section with versions defined for all official jackson components. It also does set jackson.version consistently.

0reactions
hzsbravecommented, May 11, 2018

<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.9.4</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.9.4</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.9.4</version> </dependency> add both dependency

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview (jackson-databind 2.9.1 API) - Javadoc.io
Basic data binding (mapping) functionality that allows for reading JSON content into Java Objects (POJOs) and JSON Trees ( JsonNode ), as well...
Read more >
Unable to start application after upgrading jackson-databind ...
jackson -core resolved from jackson-dataformat-xml (2.10.3) was version 2.9.9, explicitly bumping it to required 2.10.3 fixed the issue. Thanks ...
Read more >
com.fasterxml.jackson.core » jackson-databind » 2.9.1
Jackson Databind » 2.9.1 ; Date, Sep 08, 2017 · Files, pom (6 KB) bundle (1.3 MB) View All · CentralMulesoftSonatype · Ranking,...
Read more >
Version '2.9.4' of package 'jackson-databind' is not supported
2022-05-12 10:46:10 ERROR JacksonVersion:506 - Version '2.9.4' of package 'jackson-databind' is not supported (older than earliest supported ...
Read more >
Third-Party Notices and/or Licenses - Oracle Help Center
Additional notices and/or licenses may be found in the included ... This copy of Jackson JSON processor annotations is licensed under the Apache...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found