Command line is too long问题解决

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

如下图所示:


解决方法:

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

<component name="PropertiesComponent">

  ...

</component>

然后在其中添加:

<property name="dynamic.classpath"value="true"/>

问题得到解决。


版权声明:本文为feitianlongfei原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。