Open artntek opened 3 months ago
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
/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
@artntek See this thread for details on how to use Jackson as a replacement for jaxb:
https://github.com/NCEAS/metadig-engine/issues/308#issuecomment-1670459740
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
/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