mulesoft-consulting / json-logger

Drop-in replacement for default Mule Logger that outputs a JSON structure based on a predefined JSON schema
MIT License
68 stars 212 forks source link

JDK 11 Support #31

Open SethJackson-GreenIrony opened 3 years ago

SethJackson-GreenIrony commented 3 years ago

I'm attempting to compile this project using AdoptOpenJDK11 but there are dependencies on the JAXB library that was remove in v11. Is there support for this logger on v11?

gtalwadker commented 2 years ago

[ERROR] error on execute: org.mule.runtime.api.exception.MuleRuntimeException: java.lang.RuntimeException: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.

Is the exception being raised when compiled using JDK 11 (11.0.13) from Oracle and Open JDK.

gtalwadker commented 2 years ago

In Addition to that, JDK 1.8.2XX or 3XX doesnt work. Compiling works with only 1.8.1XX