Command line is too long. Shorten command line for test.ttt or also for JUnit default configuration?

idea 启动类/启动测试类报错:Error running ‘test.ttt’: Command line is too long. Shorten command line for test.ttt or also for JUnit default configuration?

在这里插入图片描述

1.点开Edit Configurations
Command line is too long. Shorten command line for test.ttt or also for JUnit default configuration?_第1张图片
2.点开Modify options
Command line is too long. Shorten command line for test.ttt or also for JUnit default configuration?_第2张图片
3.点击Shorten command line
Command line is too long. Shorten command line for test.ttt or also for JUnit default configuration?_第3张图片

4.选中JAR这个,看图
Command line is too long. Shorten command line for test.ttt or also for JUnit default configuration?_第4张图片
5.Apply就可以了

启动类出错的在这里设置
Command line is too long. Shorten command line for test.ttt or also for JUnit default configuration?_第5张图片

你可能感兴趣的:(踩坑日记,git,xml,java)