mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2026-02-04 15:05:54 +08:00
【fix】org.springframework.boot.loader.launch.JarLauncher
This commit is contained in:
@@ -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>--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>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user