idea运行junit测试程序报错command line is too long. shorten command line for ...
解决方法
在项目根目录.idea/workspace.xml文件中添加一行代码
1<component name="PropertiesComponent"> 2 ... 3 <property name="dynamic.classpath" value="true" /> 4</component>
再启动测试类看看,见证神奇的时刻。

Kent_Sun
2021-04-01
解决方法
在项目根目录.idea/workspace.xml文件中添加一行代码
1<component name="PropertiesComponent"> 2 ... 3 <property name="dynamic.classpath" value="true" /> 4</component>
再启动测试类看看,见证神奇的时刻。