问题描述:
Idea启动项目报错:Command line is too long. Shorten command line for className or also for JUnit defaultconfiguration.
解决方案:
1、在项目中找到 .idea 文件夹;
2、打开 .idea 文件夹中的 workspace.xml 文件;
3、在 workspace.xml 中搜索 “PropertiesComponent”,找到如下代码片:
<component name="PropertiesComponent">
// 省略此处代码
</component>
4、在其中添加如下代码:
<property name="dynamic.classpath" value="true" />
5、添加后即可解决,重新启动项目即可。