JAR file as a Windows Service – Service cannot be started. System.ComponentModel.Win32Exception: The directory name is invalid
I’m trying to run a Spring Boot application JAR file as a Windows service using procrun. I’ve installed the service and it was listed in Windows Services. When I’ve started the service, it stopped after few seconds, and in the Event Viewer log, the below error came