Closed rajuperala91 closed 6 months ago
@rajuperala91 Thanks for getting in touch. Can you get the logs from the application when it is run was a service and share those?
Logs also not generating. When i start the application service showing attached issue.
@rajuperala91 The Spring Boot 3.2 release notes includes information about changes to the nested jar support. You should either change the launcher in your wrapper XML from org.springframework.boot.loader.JarLauncher
to org.springframework.boot.loader.launch.JarLauncher
, or leave it as-is and set the loaderImplementation
to CLASSIC
in your build configuration.
Now the application is up and running. modified this org.springframework.boot.loader.JarLauncher to org.springframework.boot.loader.launch.JarLauncher . Thank you so much for the quick help.
I have upgraded my Springboot gradle application to 2.7.1 to 3.2.3.
My all applications will run as Windows wrapper services. Before the upgrade everything working fine. after the upgrade, when I started my Windows service giving an attached issue. but when I use Springboot 3.1.9 or below versions it works fine.
Note: It is working fine in Intellij and running as a jar in windows server also working fine. but not as a windows service.
Windows wrapper XML code:
My build.gradle file