[ 
https://issues.apache.org/jira/browse/NIFI-10211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566832#comment-17566832
 ] 

ASF subversion and git services commented on NIFI-10211:
--------------------------------------------------------

Commit f05d0f10f364654acfffad647e81b885f24e8696 in nifi's branch 
refs/heads/main from Ferenc Erdei
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f05d0f10f3 ]

NIFI-10211 Add dependencies for running minifi on java11

Signed-off-by: Matthew Burgess <[email protected]>

This closes #6191


> 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
>          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)

Reply via email to