You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by "Honey, Richard (ELS-OXF)" <r....@elsevier.com> on 2021/06/07 10:04:20 UTC

Unable to start NIFI

[cid:image002.jpg@01D75B8C.DB6B9990]


Hi NIFI team
I am struggling to understand what I have missed on implementing NIFI on my windows laptop?

Same error every time -> Could not find or load class org.apache.nifi.bootstrap.RunNiFi

I have installed both version just in case one has issue neither work

[cid:image006.jpg@01D75B8C.DB6B9990]

Bin directory is in the depths of the folder
nifi-1.12.1\nifi-1.12.1\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-resources\src\main\resources\bin>
Tried running bat as admin still no luck ☹


I have set my JAVA-HOME

[cid:image007.jpg@01D75B8C.DB6B9990]


What am I missing??

Thanks
Richard


________________________________

Elsevier Limited. Registered Office: The Boulevard, Langford Lane, Kidlington, Oxford, OX5 1GB, United Kingdom, Registration No. 1982084, Registered in England and Wales.

Re: Unable to start NIFI

Posted by Eduardo Fontes <ed...@gmail.com>.
Hi Richard,

Do you tried to download the binary zip (not source)?
The basic installation is uncompress the binary zip and run bin/run-nifi.bat

Best regards.
Eduardo Fontes

On Mon, Jun 7, 2021 at 10:03 AM Honey, Richard (ELS-OXF) <
r.honey@elsevier.com> wrote:

>
>
>
>
> Hi NIFI team
>
> I am struggling to understand what I have missed on implementing NIFI on
> my windows laptop?
>
>
>
> Same error every time -> *Could not find or load class
> org.apache.nifi.bootstrap.RunNiFi*
>
>
>
> I have installed both version just in case one has issue neither work
>
>
>
>
>
> Bin directory is in the depths of the folder
>
>
> nifi-1.12.1\nifi-1.12.1\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-resources\src\main\resources\bin>
>
> Tried running bat as admin still no luck ☹
>
>
>
>
>
> I have set my JAVA-HOME
>
>
>
>
>
>
>
> What am I missing??
>
>
>
> Thanks
>
> Richard
>
>
>
> ------------------------------
>
> Elsevier Limited. Registered Office: The Boulevard, Langford Lane,
> Kidlington, Oxford, OX5 1GB, United Kingdom, Registration No. 1982084,
> Registered in England and Wales.
>

Re: Unable to start NIFI

Posted by Mark Payne <ma...@hotmail.com>.
Hi Richard,

It appears that you do not have the correct bin/ directory. You’ll need to make sure that if you’re using the source download that you’ve built using Maven. Then, you’ll find the bin/ directory under nifi-assembly/target/nifi-1.12.1-bin/nifi-1.12.1/bin/

The bin/ directory that you are looking at is part of the source code that contains the nifi.sh script, etc. for building the package.

Though it may make more sense just to download and use the nifi binary that is already built, unless you’re intentionally building because of updates made - but then I would expect you to building from the “main” branch instead of an already-released 1.12.1

Thanks
-Mark


On Jun 7, 2021, at 6:04 AM, Honey, Richard (ELS-OXF) <r....@elsevier.com>> wrote:

[cid:image002.jpg@01D75B8C.DB6B9990]


Hi NIFI team
I am struggling to understand what I have missed on implementing NIFI on my windows laptop?

Same error every time -> Could not find or load class org.apache.nifi.bootstrap.RunNiFi

I have installed both version just in case one has issue neither work

[cid:image006.jpg@01D75B8C.DB6B9990]

Bin directory is in the depths of the folder
nifi-1.12.1\nifi-1.12.1\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-resources\src\main\resources\bin>
Tried running bat as admin still no luck ☹


I have set my JAVA-HOME

[cid:image007.jpg@01D75B8C.DB6B9990]


What am I missing??

Thanks
Richard


________________________________

Elsevier Limited. Registered Office: The Boulevard, Langford Lane, Kidlington, Oxford, OX5 1GB, United Kingdom, Registration No. 1982084, Registered in England and Wales.