Support Questions

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

Apache nifi registry in windows 10 Pro

avatar
New Contributor

Hi All:

I'm new to Apache NiFi. I am able to download and have the apache nifi working perfectly but when it comes to apache NiFi registry, I am getting an error preventing me to start the registry.

 

I ran the batch file after adjusting the port for NiFi registry.

run-nifi-registry.bat

 

it gave me an error. I'm guessing some classpath setup issue... not sure

 

C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin>run-nifi-registry.bat
cmd.exe /C "C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\java.exe" -cp C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin\..\conf;C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin\..\lib\*;C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin\..\lib\shared\*;C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin\..\lib\bootstrap\* -Xms512m -Xmx1024m -Dorg.apache.nifi.registry.bootstrap.config.file=C:\Apache nifi-1.12.1\nifi-registry-0.8.0\bin\..\conf\bootstrap.conf org.apache.nifi.registry.NiFiRegistry run
Error: Could not find or load main class nifi-1.12.1\nifi-registry-0.8.0\bin\..\conf;C:\Apache

 

1 REPLY 1

avatar
Super Mentor

@galvinpaul1718 

I 'd suggest verifying your download was good.
Then remove the nifi-registry work directory before restarting.
The work directory is rebuilt from the nifi-registry lib dir contents.
Make sure you did not run out of disk space.

If you found this response assisted with your query, please take a moment to login and click on "Accept as Solution" below this post.

Thank you,

Matt