Support Questions

Find answers, ask questions, and share your expertise

Apache nifi registry in windows 11

avatar
New Contributor

Chào mọi người:

Tôi chưa quen với Apache NiFi. Tôi có thể tải xuống và nifi apache hoạt động hoàn hảo nhưng khi nói đến sổ đăng ký NiFi apache, tôi gặp lỗi khiến tôi không thể khởi động sổ đăng ký.

 

Tôi đã chạy tệp bó sau khi điều chỉnh cổng cho sổ đăng ký NiFi.

run-nifi-registry.bat

 

nó đã báo lỗi cho tôi. Tôi đoán có một số vấn đề về thiết lập đường dẫn lớp... không chắc chắn

 

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- register-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
Lỗi: Không thể tìm hoặc tải lớp chính  nifi-1.12.1\nifi-registry-0.8.0\bin\.. \conf;C:\Apache

 

3 REPLIES 3

avatar
Community Manager

English Translation: 

Hi everybody:

I am new to Apache NiFi. I can download and apache nifi works perfectly but when it comes to apache NiFi registry I get an error that prevents me from starting the registry.

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- register-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
Lỗi: Không thể tìm hoặc tải lớp chính nifi-1.12.1\nifi-registry-0.8.0\bin\.. \conf;C:\Apache

 



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Community Manager

@hidden Welcome to our community! To help you get the best possible answer, I have tagged in our Nifi experts @SAMSAL @TimothySpann  who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Mentor

@hidden 

Welcome to the world of Apache NiFi.  The first recommendation I'd make is to download the latest version of Apache NiFi 1.x branch.  The 1.12 branch is more then 5 years old now and there have been so many improvements, bug fixes, and security updates since its release.

The new Apache NiFi 2.x branch has also been released recently.  Since you are new to NiFi you may also consider utilizing the 2.x version instead to avoid hassle down the road of migrating to this new major release branch.  The 1.x branch will cease to release new versions soon.

When sharing exceptions for help is is best to make sure you have also inspected the NiFi-Registry logs produced in the log directory you have configured in the logback.xml file.  They may provide more detailed stack traces and/or logging to help fully understand the issue you encountered.  

Thank you,
Matt