Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Minifi Toolkit Error

avatar
New Contributor

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

2 REPLIES 2

avatar
New Contributor

Update: Mit Java 8 statt 11 hat es funktioniert.

avatar

@nnndb 

You are using version JAVA 8 update 11?

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