[
https://issues.apache.org/jira/browse/NIFI-10211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Burgess resolved NIFI-10211.
---------------------------------
Fix Version/s: 1.17.0
Resolution: Fixed
> 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
> Priority: Major
> Fix For: 1.17.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)