Command line is too long. Shorten command line for SpringBootMainApplication or also for Application

解决方案:

修改项目下 .idea\workspace.xml
在这里插入图片描述
找到标签
在这里插入图片描述

在标签里加一行 :

<property name="dynamic.classpath" value="true" />
<component name="PropertiesComponent">
    <property name="WebServerToolWindowFactoryState" value="false" />
    <property name="aspect.path.notification.shown" value="true" />
    <property name="dynamic.classpath" value="true" />
    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1543830701622" />
    <property name="settings.editor.selected.configurable" value="reference.settingsdialog.project.gradle" />
  </component>