SEVERE hudson.util.BootFailure#publish: Failed to initialize Jenkins

Jenkins setup:

============
I just installed Jenkins whose specification and environment summary is below. I am unable to go to the Jenkins Script Console since Jenkins does not initialize.

ERROR detail from ‘jenkins.err’ file

2023-09-26 10:23:35.321+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file
2023-09-26 10:23:35.431+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
2023-09-26 10:23:35.525+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-10.0.15; built: 2023-04-11T17:25:14.480Z; git: 68017dbd00236bb7e187330d7585a059610f661d; jvm 17.0.8+9-LTS-211
2023-09-26 10:23:36.165+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2023-09-26 10:23:36.243+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: Session workerName=node0
2023-09-26 10:23:36.853+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: C:\data\jenkins_home found at: EnvVars.masterEnvVars.get(“JENKINS_HOME”)
2023-09-26 10:23:36.989+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@2575f671{Jenkins v2.414.1,/,file:///C:/Users/mashavaa/AppData/Local/Jenkins/war/,AVAILABLE}{C:\Users\mashavaa\AppData\Local\Jenkins\war}
2023-09-26 10:23:37.021+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@5b0abc94{HTTP/1.1, (http/1.1)}{0.0.0.0:9090}
2023-09-26 10:23:37.021+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started Server@add0edd{STARTING}[10.0.15,sto=0] @2396ms
2023-09-26 10:23:37.036+0000 [id=26] INFO winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled
2023-09-26 10:23:37.325+0000 [id=25] SEVERE hudson.util.BootFailure#publish: Failed to initialize Jenkins
java.lang.ClassNotFoundException: Hudson.lifecycle.WindowsServiceLifecycle
at hudson.PluginManager$UberClassLoader.lambda$findClass$0(PluginManager.java:2357)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:2357)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at hudson.lifecycle.Lifecycle.get(Lifecycle.java:70)
Caused: java.lang.NoClassDefFoundError: Hudson.lifecycle.WindowsServiceLifecycle
at hudson.lifecycle.Lifecycle.get(Lifecycle.java:84)
at jenkins.model.Jenkins.getLifecycle(Jenkins.java:2815)
at jenkins.model.Jenkins$6.onInitMilestoneAttained(Jenkins.java:1194)
at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:88)
at org.jvnet.hudson.reactor.ReactorListener$Aggregator.lambda$onAttained$3(ReactorListener.java:108)
at org.jvnet.hudson.reactor.ReactorListener$Aggregator.run(ReactorListener.java:116)
at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:108)
at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:182)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused: org.jvnet.hudson.reactor.ReactorException
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:290)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:1201)
at jenkins.model.Jenkins.(Jenkins.java:989)
at hudson.model.Hudson.(Hudson.java:86)
at hudson.model.Hudson.(Hudson.java:82)
at hudson.WebAppMain$3.run(WebAppMain.java:247)
Caused: hudson.util.HudsonFailedToLoad
at hudson.WebAppMain$3.run(WebAppMain.java:264)
Exception in thread “Jenkins initialization thread” java.lang.NoClassDefFoundError: Hudson.lifecycle.WindowsServiceLifecycle
at hudson.lifecycle.Lifecycle.get(Lifecycle.java:84)
at jenkins.model.Jenkins.getLifecycle(Jenkins.java:2815)
at jenkins.model.Jenkins.cleanUp(Jenkins.java:3618)
at hudson.WebAppMain$3.run(WebAppMain.java:268)
Caused by: java.lang.ClassNotFoundException: Hudson.lifecycle.WindowsServiceLifecycle
at hudson.PluginManager$UberClassLoader.lambda$findClass$0(PluginManager.java:2357)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:2357)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at hudson.lifecycle.Lifecycle.get(Lifecycle.java:70)
… 3 more

============
Installed Jenkins Product version : 2.255.4141
Install Size : 85.9 MB

Operating System : Windows Server 2022 Standard
Version : 21H2
Installed on : 9/15/2023
OS Build : 20348.1970

java version “17.0.8” 2023-07-18 LTS
Java™ SE Runtime Environment (build 17.0.8+9-LTS-211)
Java HotSpot™ 64-Bit Server VM (build 17.0.8+9-LTS-211, mixed mode, sharing)

echo %JAVA_HOME%
C:\tools\jdk\jdk-17

echo %PATH%
C:\tools\jdk\jdk-17\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\curl-win64-latest\curl-8.3.0_1-win64-mingw\bin;C:\Users\mash*****\AppData\Local\Microsoft\WindowsApps;C:\Program Files\curl-win64-latest\curl-8.3.0_1-win64-mingw\bin;

=================

Please advise how I can resolve this error and get Jenkins working. I am not very experienced with Jenkins.