报错 Error running ‘testApplication’: Command line is too long. Shorten command line for testApplicationor also for Application default configuration. 解决 修改项目下 .idea\workspace.xml,找到标签,在标签里加一行 <component name="PropertiesComponent"> <property name="dynamic.classpath" value="true" /> </component>