Skip to content

For future reference - Java > v11 #2

@artntek

Description

@artntek

Just some notes for our future selves, when we update from java 8:

This breaks with Java > 11 (found when working on d1_portal, which has this as a dependency)

org/dataone/service/util/TypeMarshaller.java:299

javax.xml.bind.JAXBException

  • with linked exception:
    [java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory]

/Users/brooke/.m2/repository/javax/xml/bind/jaxb-api/2.2.3/jaxb-api-2.2.3.jar!/javax/xml/bind/ContextFinder.class

return newInstance(classes, properties, "com.sun.xml.internal.bind.v2.ContextFactory");

com.sun.xml.internal.bind.v2.ContextFactory no longer available after JDK 11

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