Command line is too long问题解决


Idea启动项目报错:Command line is too long. Shorten command line for className or also for JUnit defaultconfiguration.

解决方法:

在该项目文件夹.idea/workspace.xml中找到

  ...

然后在其中添加:

问题得到解决。