2020-09-08

  • Post author:
  • Post category:其他


idea测试代码启动Command line is too long. Shorten command line for xxx or also for JUnit default configuration.解决办法

原因:命令行过长,需要更改配置。

解决方案:

  1. 按照提示,点击 配置设置,如图所设置即可

    设置页面
  2. 打开项目目录下的 .idea/workspace.xml 查找 PropertiesComponent 节点 新增 dynamic.classpath 配置属性
	<component name="PropertiesComponent">
		<property name="dynamic.classpath" value="true" />
	</component>

设置图片