Ferenc Erdei created NIFI-10211:
-----------------------------------

             Summary: Add java11+ support for MiNiFi
                 Key: NIFI-10211
                 URL: https://issues.apache.org/jira/browse/NIFI-10211
             Project: Apache NiFi
          Issue Type: Task
          Components: MiNiFi
            Reporter: Ferenc Erdei
            Assignee: Ferenc Erdei


Java 9 deprecated the JAXB, and Java 11 deleted the JAXB completely, so we get 
the following error during startup:
{code:java}
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... {code}
To fix it, we have to include the JAXB dependencies manually (similarly as we 
do for NiFi / NiFi registry).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to