Command line is too long问题解决

207 阅读1分钟

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

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

<component name="PropertiesComponent">

  ...

</component>

然后在其中添加:

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

问题得到解决。