Idea debug时报错:Command line is too long

问题:写单元测试,debug时,报错

解决方法:


在项目/.idea/workspace.xml文件中添加一行代码如下

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

转自https://blog.csdn.net/kzadmxz/article/details/80322687

原文地址:https://www.cnblogs.com/huhuuu/p/9982440.html