首页 > 其他分享 >解决idea出现报错:Error running,Command line is too long. Shorten command line

解决idea出现报错:Error running,Command line is too long. Shorten command line

时间:2022-09-25 10:46:49浏览次数:56  
标签:quot Shorten idea long command 报错 line

问题场景

IDEA 测试类运行报错如下:

 

报错原因

因为项目需要打印的环境变量太长,超过了限制,需要缩短命令行来解决问题。

解决办法

首先找到项目里面的idea/workspace.xml文件,然后再找到 

<component name="PropertiesComponent">{
&quot;keyToString&quot;:

添加一行

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

重启即可

 

标签:quot,Shorten,idea,long,command,报错,line
From: https://www.cnblogs.com/wdh01/p/16727361.html

相关文章