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
2.点开Modify options
3.点击Shorten command line
4.选中JAR这个,看图
5.Apply就可以了
启动类出错的在这里设置