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-module-jaxb-annotations 2.11.2 has wrong module info (Java 9 instead of Java 11)

See original GitHub issue

Looks like there are some minor issues in jackson-module-jaxb-annotations 2.12.1 multi-release JAR. It looks like Java 9 - focused class is used instead. Not a big deal, but there is a warning generated by Maven Enforcer Plugin.

[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (display-info) @ MY_PROJECT ---
[INFO] Ignoring requireUpperBoundDeps in com.google.guava:guava
[INFO] Adding ignore: module-info
[WARNING] Invalid bytecodeVersion for com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.1:compile : META-INF/versions/11/module-info.class: expected 55, but was 53

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
GedMarccommented, Jan 26, 2022

Ok @cowtowncoder

For moditect –

<plugin>...
<configuration>....
<version>9</version>

I’ll start with the jakarta module base, i’ve spoken with the moditect guys (luke hutch), the module info must be compiled as version 9 (not 11), but for sniffers and accuracy, it should be placed under version 9 directory in META-INF, not 11

0reactions
cowtowncodercommented, Jan 27, 2022

So, this is wrt https://github.com/FasterXML/jackson-databind/issues/3380 as well, right?

I think this change needs to go in 2.13(.2), and the place, I think is in base/pom.xml of jackson-bom project? If so, all actual Jackson repos should start using it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compilation error package com.fasterxml.jackson.annotation ...
I checked the maven repository for this component, and it seems it does not have any dependency. I tried changing the version to...
Read more >
Jackson Dependency Issue in Spring Boot with Maven Build
This error occurs due to Jackson dependency conflict. We are working on a Spring Boot project and it's inheriting from the Spring Boot...
Read more >
Advanced Modular Development - OpenJDK
src/jackson.databind/module-info.java module jackson.databind { requires transitive jackson.annotations; requires transitive jackson.core;.
Read more >
Jackson Dependency Issue in Spring Boot with Maven Build
Jackson is currently the leading option for parsing JSON in Java. The Jackson library is composed of three components: Jackson Databind, Core, ...
Read more >
SUSE-SU-2022:1678-1: important: Security update for jackson ...
(bsc#1182481) Non security fixes: jackson-annotations - update from ... back + Fix for [modules-java8#207]: prevent fail on secondary Java 8 ...
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