Support Questions

Find answers, ask questions, and share your expertise

Minifi Toolkit Error

New Contributor



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]$ ./ transform input.xml outputfile 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:




Any ideas what the problem is?


Best regards


New Contributor

Update: Mit Java 8 statt 11 hat es funktioniert.


You are using version JAVA 8 update 11?

If so, try using at least JAVA 8 update 252.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.