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" />
問題得到解決。