idea报错:Error running $classname

修改时间: 2019-05-14 18:00:00 PM

2019年5月14日 17:55:05 idea报错:Error running $classname: Command line is too long. Shorten command line for $classname.

解决方法:

点击run菜单——>点击Configurations菜单——>选中报错的项目,选中Configuration——>Environment——>Shorten command _line

切换为JAR manifest 即可
微信截图_20190514175839.png

添加新评论