'Can't start NiFi in win10

I have installed NiFi but when I try to start it from the command line, with bin\run-nifi.bat, I get the following error:

Error: Could not find or load main class org.apache.nifi.bootstrap.RunNiFi

I have: Windows 10 SO 19042.867 Java 8 1.8.0_291-b10

I tried doing it from administrator but it still doesn't work.... can anyone help me?

Thankyou!



Solution 1:[1]

SOLVED the exact same problem by granting permissions (full control) to Users and Authenticated Users; I assume only one of these groups was necessary but shotgunned it, and it now runs correctly

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Greg Rowles