Hello,
I'm trying to run minifi as a Windows service, in a Windows 2016 server.
It is already installed, but when I try to start the service I receive the
following error:
2018-07-23 07:22:22 Commons Daemon procrun stderr initialized
java.lang.NoClassDefFoundError: org/apache/nifi/minifi/bootstrap/WindowsService
Caused by: java.lang.ClassNotFoundException:
org.apache.nifi.minifi.bootstrap.WindowsService
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Exception in thread "main"
I found this solution on github:
https://github.com/apache/nifi-minifi/tree/05ad9679c162dd3bf38632c7c81762ce3cd3de0e
where I found the WindowsService.java class .
How can I integrate the WindowsService.java into the main installation and
solve the problem?
Thanks in advance and kind regars,
Vicent Sendra
Information Security, Risk & Compliance
Senior Technical Security Specialist
Business Process & Technology
E. [email protected]<mailto:[email protected]>
T. +34 93 496 6683
Av. Països Catalans 32
www.ccep.com<http://www.ccep.com/>
08950 Esplugues de Llobregat
Spain
[http://www.cocacolaiberianpartners.com/logomail/logoccep.jpg]