Error running 'xxx': Command line is too long.

在IDEA运行main函数的时遇到如下错误解决办法:

Error running 'xxxxxx': Command line is too long. Shorten command line for xxxxxxor also for Application default configuration.

原因:命令行的参数太长,需要进行修改。修改过程如下:

在Run> Edit Configuration中修改

Error running 'xxx': Command line is too long.

选中红色框中即可!!!

猜你喜欢

转载自blog.51cto.com/14572091/2498043