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

现象

在运行idea时,报如下的错误

image

 

解决方案

1.打开运行窗口,找到 编辑配置

image

 2.点击Modify options

image

 3.点击 Shorten command line

image

 4.选择"JAR manifest"或"classpath file"方式

image

 5.最后点击Apply

 
posted @ 2025-08-13 12:01  萍2樱释  阅读(20)  评论(0)    收藏  举报