Skip to content

Incorrect export of com.fasterxml.jackson.jaxrs.json for JSON providerΒ #120

@triceo

Description

@triceo

When running an app with 2.10.1 using JPMS, I get the following error:

Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: 
/home/triceo/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.10.1/jackson-jaxrs-json-provider-2.10.1.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Exported package com.fasterxml.jackson.jaxrs.json already declared

I am assuming this has to do with the following module-info.class that my IntelliJ IDEA decompiled for me:

decompiled

(See lines 15 and 16.)

Unfortunately, this makes Jackson 2.10.1 unusable in the context of Java modularity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions