Member since
03-09-2023
2
Posts
0
Kudos Received
0
Solutions
03-09-2023
12:55 PM
Downloaded Nifi 1.15.3 fresh and compiled with Java11. I added jaxb dependency in POM xml . Still getting below error on start up. <dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency> 2023-03-09 15:48:45,776 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at org.apache.bval.jsr.ConfigurationImpl.parseValidationXml(ConfigurationImpl.java:357) at org.apache.bval.jsr.ConfigurationImpl.createBootstrapConfiguration(ConfigurationImpl.java:349) at org.apache.bval.jsr.ConfigurationImpl.prepare(ConfigurationImpl.java:340) at org.apache.bval.jsr.ConfigurationImpl.__privileged_doBuildValidatorFactory(ConfigurationImpl.java:329) at org.apache.bval.jsr.ConfigurationImpl.doBuildValidatorFactory(ConfigurationImpl.java) at org.apache.bval.jsr.ConfigurationImpl.buildValidatorFactory(ConfigurationImpl.java:324) at org.apache.nifi.processors.standard.ParseCEF.<init>(ParseCEF.java:205) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at java.base/java.lang.Class.newInstance(Class.java:584) at org.apache.nifi.nar.StandardExtensionDiscoveringManager.getTempComponent(StandardExtensionDiscoveringManager.java:565) at org.apache.nifi.documentation.DocGenerator.document(DocGenerator.java:132) at org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:104) at org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65) at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1139) at org.apache.nifi.NiFi.<init>(NiFi.java:170) at org.apache.nifi.NiFi.<init>(NiFi.java:82) at org.apache.nifi.NiFi.main(NiFi.java:330) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 20 common frames omitted 2023-03-09 15:48:45,777 INFO [Threa
... View more