本文共 458 字,大约阅读时间需要 1 分钟。
To create a ‘fully executable’ jar with Maven use the following plugin configuration:
org.springframework.boot spring-boot-maven-plugin true
With Gradle, the equivalent configuration would be:
springBoot { executable = true}
You can then run your application by typing ./my-application.jar
转载地址:http://ameoa.baihongyu.com/