Command line is too long. Shorten command line for TestWebApp or also for Spring Boot default config

  在使用IntelliJ IDEA工具开发项目,启动时报 “Command line is too long. Shorten command line for TestWebApp or also for Spring Boot default configuration.” 的错误

如下图:
Command line is too long. Shorten command line for TestWebApp or also for Spring Boot default config

 

 

 处理方式:

  1、右上角点击选择

Command line is too long. Shorten command line for TestWebApp or also for Spring Boot default config

 

   2、打开后, Configuration -> Environment -> Shorten command line 选项中选中 “ JAR manifest ” 

Command line is too long. Shorten command line for TestWebApp or also for Spring Boot default config

 

 

 

修改OK后,可正常启动。

 

上一篇:IDEA启动报错


下一篇:SpringBoot项目运行时报错:Command line is too long. Shorten command line for RootApplication or also for Spr