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:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@codingsince1985 Ah. Hmmh. That makes more sense. Interesting… there’s some unfortunate interaction there between definition of
jackson.version
byjackson-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.<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