我有一个春季启动应用程序,我想无头运行它.当我从终端运行时,这是我正在使用的命令:
java -jar myapp.jar --spring.main.headless = true
它是否正确?任何帮助都非常感谢.
spring-boot
spring-boot ×1