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">
,后面在添加一行
"dynamic.classpath": "true"
这种方式一次设置就行。