推荐:
idea遇导此问题修改此处设置,就可以不需要很繁琐
实在不行了,用下述方法也可,博主觉得太麻烦了,所以不大推荐第二种。(ps:博主比较懒,没去研究这原因,你若研究过,评论区交流下,取取经哈!)
在单元测试的时候有时候出现出现下述问题:
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" />
此博文,仅作为个人记录,查看。
原创博主:https://blog.csdn.net/feitianlongfei/article/details/80976953