Description
Java 9 deprecated the JAXB, and Java 11 deleted the JAXB completely, so we get the following error during startup:
2022-07-11 08:34:56,637 ERROR [MiNiFi logging handler] org.apache.nifi.minifi.StdErr Failed to start flow service: Unable to load flow due to: java.lang.RuntimeException: Unable to create JAXBContext: Implementation of JAXB-API has not been found on module path or classpath. 2022-07-11 08:34:56,638 ERROR [MiNiFi logging handler] org.apache.nifi.minifi.StdErr Shutting down...
To fix it, we have to include the JAXB dependencies manually (similarly as we do for NiFi / NiFi registry).
Attachments
Issue Links
- links to