Skip to content

java.xml.bind module used in datavault-common has been deprecated since Java 9 #588

@mbennett-uoe

Description

@mbennett-uoe

The java.xml.bind module was part of Java EE and was deprecated in Java 9. It was finally removed in Java 11, meaning DataVault will not compile under the latest versions of the JDK.

For info see here: https://www.oracle.com/technetwork/java/javase/11-relnote-issues-5012449.html#JDK-8190378

There is a replacement in the form of a Reference Implementation of JAXB, which is available as a Maven artifact: https://mvnrepository.com/artifact/javax.xml.bind

In theory, adding a dependency to the relevant pom.xml should fix the issue by pulling in the above mentioned artifact. I will try this on my local deployment and report back.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions