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

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

如下图:

 

 

 处理方式:

  1、右上角点击选择

 

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

 

 

 

修改OK后,可正常启动。

 

posted @ 2021-10-12 16:22  丿小师傅灬  阅读(333)  评论(0编辑  收藏  举报