IDEA启动SpringBoot报错Command line is too long. Shorten command line for ServiceApplication

IDEA启动SpringBoot报错Command line is too long. Shorten command line for ServiceApplication or also for Spring Boot default configuration.即需要缩短ServiceApplication或Spring Boot默认配置的命令

IDEA启动SpringBoot报错Command line is too long. Shorten command line for ServiceApplication

解决方法:

IDEA启动SpringBoot报错Command line is too long. Shorten command line for ServiceApplication 

在Environment里将 Shorten command line改成JAR manigest

IDEA启动SpringBoot报错Command line is too long. Shorten command line for ServiceApplication 

再次启动就成功了