Created 04-13-2021 01:41 PM
Hi,
I'm brand new to Apache NiFi and MiniFi. I'm following along a Getting Started with MiniFi (https://community.cloudera.com/t5/Community-Articles/Getting-Started-with-MiNiFi/ta-p/247366) and I'm trying to convert the template xml to yml per the instructions. I am in the minifi-toolkit directory. I had to add the jaxb-api-2.4.0-b180830.0359 which was not included in the lib directory. So, I ran the transform command and got the following error:
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])
I can't find any trouble shooting tips to resolve this error. Can anyone please help me resolve this?
Created 06-02-2021 11:04 AM
@H20 What version of NiFi was the template created in and what version of the toolkit is being used to do the transform?
Created 07-03-2024 09:38 PM
This might be too late but hoping answer would help someone someday. I experienced the same error and spent countless hours in fixing. I was using latest version of Java (JDK21). However, once I switched back to java 8, this problem was fixed. The issue is primarily due to the fact that The JAXB packages javax.xml.* are not visible in Java 9 and Java 10 and removed in Java 11 and above. And the jaxb-api contains only the APIs, and we need the JAXB Implementation
Created 08-28-2024 01:31 PM
Does anyone from the community, have answer this question what about if java version greater than 8, how the toolkit will work with "JAXB-API has not been found"?