IDEA启动报错Error running ‘XXXX’: Command line is too long. Shorten command line for XXXX or also for JUnit default configuration?
解决办法:找到项目下.idea文件夹下的workspace.xml文件,找到component name="PropertiesComponent"标签,加上property name=“dynamic.classpath” value=“true” /配置
<component name="PropertiesComponent">
<property name="dynamic.classpath" value="true" />
</component>