Command line is too long. Shorten the command line via JAR manifest

Posted 福州司马懿

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Command line is too long. Shorten the command line via JAR manifest相关的知识,希望对你有一定的参考价值。

Error running SaasPlatSpringApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.

今天在编译一个大型项目时报了如下错误,解决方法如下

  1. 点击“Edit Configurations…”

  1. 选择左边的一个应用,点击“Modify options”
  2. 点击“Shorten command line”

Shorten command line 中选择:“Jar mainfest”


最后点击“OK” 进行正常编译

以上是关于Command line is too long. Shorten the command line via JAR manifest的主要内容,如果未能解决你的问题,请参考以下文章

IntelliJ IDEA - Command line is too long

Idea报错Command line is too long

Command line is too long. Shorten the command line via JAR manifest

springboot项目运行错误:Error running ‘Application‘: Command line is too long.Shorten command line for

Command line is too long的解决办法

报错Command line is too long. Shorten the command line xxx解决办法