【fix】org.springframework.boot.loader.launch.JarLauncher

This commit is contained in:
macbookpro
2025-08-08 23:36:00 +08:00
parent b8bfe15368
commit 8d845c64c1
2 changed files with 2 additions and 3 deletions

View File

@@ -139,7 +139,7 @@
<argument>${project.build.finalName}.jar</argument>
<argument>--main-class</argument>
<argument>org.springframework.boot.loader.JarLauncher</argument>
<argument>org.springframework.boot.loader.launch.JarLauncher</argument>
<!-- <argument>&#45;&#45;icon</argument>-->
<!-- <argument>src/main/resources/app${os.name.contains("Windows") ? ".ico" : (os.name.contains("Mac") ? ".icns" : ".png")}</argument>-->
@@ -151,7 +151,7 @@
<argument>小吴小吴bug全无${os.name}</argument>
<argument>--description</argument>
<argument>Spring Boot Application</argument>
<argument>${description}</argument>
</arguments>
</configuration>
</execution>

View File

@@ -17,7 +17,6 @@ public class LazyCloudHeartbeatClientStart {
String normalizedArch = PlatformDependent.normalizedArch();
String normalizedOs = PlatformDependent.normalizedOs();
System.out.println("normalizedArch: " + normalizedArch+"\nnormalizedOs: " + normalizedOs);
SpringApplication.run(LazyCloudHeartbeatClientStart.class,args);
}
}