web之家  

在运行 IDEA 时报错: Error running ' XXX ': Command line is too long. Shorten command line for XXX
网上查了一下,有两种解决方法。

方法一:转载自:https://blog.csdn.net/ZXJ_1223/article/details/80611089

在项目中找到 .idea\workspace.xml,找到标签 , 在标签里加一行

方法二:转载自:https://blog.csdn.net/zcc_heu/article/details/80682849

打开 run-> edit configuration,修改其中的 Shorten command line,改成 JAR manifest

posted on 2021-12-29 08:07  路修远而求索  阅读(980)  评论(0编辑  收藏  举报