IDEA 出现问题:Error running,Command line is too long. Shorten command line解决方案

问题描述

Error running ‘MallTest.testRun’: Command line is too long. Shorten command line for MallTest.testRun.
错误运行的测试。命令行太长。缩短命令行。

解决方法

在项目的.idea/workspace.xml文件中,找到
<component name="PropertiesComponent">,后面在添加一行 

&quot;dynamic.classpath&quot;: &quot;true&quot;

这种方式一次设置就行。

 

posted @ 2022-12-30 11:23  晓枫的春天  阅读(229)  评论(0编辑  收藏  举报