<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Unable to start nifi registry on Ubuntu in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-nifi-registry-on-Ubuntu/m-p/286833#M212688</link>
    <description>&lt;P&gt;I wanted to try with Nifi registry on Ubuntu today, but it failed to start. Nifi works well on the same machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NiFi registry version is 0.5&lt;/P&gt;&lt;P&gt;Java version is 13.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error log is below:&lt;/P&gt;&lt;P&gt;2020-01-04 09:08:45,023 ERROR [main] o.springframework.boot.SpringApplication Application run failed&lt;BR /&gt;java.lang.IllegalStateException: Cannot load configuration class: org.apache.nifi.registry.security.authorization.AuthorizerFactory&lt;BR /&gt;at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:413)&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;Caused by: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.&lt;BR /&gt;at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:177)&lt;BR /&gt;at javax.xml.bind.ContextFinder.find(ContextFinder.java:364)&lt;BR /&gt;at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:508)&lt;BR /&gt;at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:465)&lt;BR /&gt;at org.apache.nifi.registry.security.authorization.AuthorizerFactory.initializeJaxbContext(AuthorizerFactory.java:83)&lt;BR /&gt;... 55 common frames omitted&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------&lt;/P&gt;&lt;P&gt;I also tried to build it from source code but it failed at building nifi-registry-properties step.&lt;/P&gt;&lt;P&gt;ailed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.5:testCompile (default) on project nifi-registry-properties: Error occurred while calling a method on a Groovy class from classpath.: InvocationTargetException: BUG!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help could be appreciated.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 04 Jan 2020 09:23:31 GMT</pubDate>
    <dc:creator>TL</dc:creator>
    <dc:date>2020-01-04T09:23:31Z</dc:date>
    <item>
      <title>Unable to start nifi registry on Ubuntu</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-nifi-registry-on-Ubuntu/m-p/286833#M212688</link>
      <description>&lt;P&gt;I wanted to try with Nifi registry on Ubuntu today, but it failed to start. Nifi works well on the same machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NiFi registry version is 0.5&lt;/P&gt;&lt;P&gt;Java version is 13.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error log is below:&lt;/P&gt;&lt;P&gt;2020-01-04 09:08:45,023 ERROR [main] o.springframework.boot.SpringApplication Application run failed&lt;BR /&gt;java.lang.IllegalStateException: Cannot load configuration class: org.apache.nifi.registry.security.authorization.AuthorizerFactory&lt;BR /&gt;at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:413)&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;Caused by: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.&lt;BR /&gt;at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:177)&lt;BR /&gt;at javax.xml.bind.ContextFinder.find(ContextFinder.java:364)&lt;BR /&gt;at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:508)&lt;BR /&gt;at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:465)&lt;BR /&gt;at org.apache.nifi.registry.security.authorization.AuthorizerFactory.initializeJaxbContext(AuthorizerFactory.java:83)&lt;BR /&gt;... 55 common frames omitted&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------&lt;/P&gt;&lt;P&gt;I also tried to build it from source code but it failed at building nifi-registry-properties step.&lt;/P&gt;&lt;P&gt;ailed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.5:testCompile (default) on project nifi-registry-properties: Error occurred while calling a method on a Groovy class from classpath.: InvocationTargetException: BUG!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help could be appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jan 2020 09:23:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-nifi-registry-on-Ubuntu/m-p/286833#M212688</guid>
      <dc:creator>TL</dc:creator>
      <dc:date>2020-01-04T09:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start nifi registry on Ubuntu</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-nifi-registry-on-Ubuntu/m-p/286848#M212697</link>
      <description>&lt;P&gt;I've found the cause and fixed it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason is I was using JDK 13 which has removed the library&amp;nbsp;&lt;SPAN&gt;JAXB-API.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After I downgrade JDK from 13 to 8 with below command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sudo apt install openjdk-8-jre-headless&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works. Don't forget to reset Java_Home environment variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ps: don't forget to open port of nifi-registry&lt;/P&gt;&lt;P&gt;Hope it is helpful to someone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 00:25:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-nifi-registry-on-Ubuntu/m-p/286848#M212697</guid>
      <dc:creator>TL</dc:creator>
      <dc:date>2020-01-05T00:25:01Z</dc:date>
    </item>
  </channel>
</rss>

