Created on 10-11-2021 01:34 AM - edited 10-11-2021 01:35 AM
Hi,
I'm new to Minifi and just got minifi cpp running with the listed examples from the github repo. In the next step I want to run my own config.yml files. Unfortunately the minifi cpp repo doesn't explain the tranformation process from Nifi to Minifi. However, on the minifi website I read that the minifi toolkit is used for the transformation process from the template xml to yml-file. I downloaded the latest toolkit version (v1.14.0) and exportet a simple flow template as xml (Nifi-version is 1.12.1). When I try to convert the xml-file using the toolkit I get the folowwing error:
[user@ip-xxx bin]$ ./config.sh transform input.xml outputfile
config.sh: JAVA_HOME not set; results may vary
Java home:
MiNiFi Toolkit home: /home/user/minifi-toolkit-1.14.0
Error reading template. (javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory])
Transform Usage:
transform INPUT_FILE OUTPUT_FILE
Any ideas what the problem is?
Best regards
Created 10-11-2021 02:36 AM
Update: Mit Java 8 statt 11 hat es funktioniert.
Created 12-29-2021 08:57 AM