Error running' xxxxxx': Command line is too long. Shorten command line for xxxxxxxxx
发布于 2022-09-04    3,915 次阅读
在Intell IDEA运行main函数的时候遇到了如下错误: Error running' xxxxxx': Command line is too long. Shorten command line for xxxxxxxxx 后来从网上查找资料发现是命令行的参数太长,需要进行修改。修改过程如下: 在run-> edit configuration中修改红色画圈部分,选择如下选项图中红色画圈...

在Intell IDEA运行main函数的时候遇到了如下错误:

Error running' xxxxxx': Command line is too long. Shorten command line for xxxxxxxxx

后来从网上查找资料发现是命令行的参数太长,需要进行修改。修改过程如下:
这里写图片描述
在run-> edit configuration中修改红色画圈部分,选择如下选项图中红色画圈的部分即可:
这里写图片描述

版权说明 : 本文为转载文章, 版权为原作者所有

原文标题 : Error running' xxxxxx': Command line is too long. Shorten command line for xxxxxxxxx

原文连接 : https://blog.csdn.net/zcc_heu/article/details/80682849