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

idea启动报错,错误信息:

Error running Application. Command line is too long.

Shorten the command line via JAR manifest or via a classpath file and rerun.

解决方法:

  • 点击“Edit Configurations

  • 选择左侧的启动失败的项目,点击右侧“Modify options

 

 

  • 勾选“shorten command line

  • Shorten command line选择“JAR manifest”,点击“Apply”生效即可

 

posted @ 2023-02-02 11:49  一粒沙走遍了天涯  阅读(1474)  评论(0)    收藏  举报