IDEA去Debug项目时出现如下报错信息:
Error running xxApplication.
Command line is too long.
Shorten the command line via JAR
翻译过来:运行应用程序命令行太长,通过JAR清单或通过类路径文件缩短命令行并重新运行。
解决方案:
1、点击“Edit Configurations”
2、选择左侧的启动失败的项目,点击右侧“Modify options”
3、点击“shorten command line”
4、Shorten command line选择“JAR manifest”,点击“Apply”生效即可