执行测试类时报错:
Error running 'WowoWinTest.together' Error . Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.
翻译:运行“WowoWinDesignateTest.together”时出错。命令行太长。通过JAR清单或类路径文件缩短命令行,然后重新运行。
解决方法如下:
点击Edit configurations
选择有问题的测试类,点击Modify options,然后勾选Shorten command line
然后在Shorten command line处选择JAR manifest即可。