Command line is too long. Shorten command line for SpringBootMainApplication or also for Application
问题如图:
Error running 'SpringBootMainApplication': Command line is too long. Shorten command line for SpringBootMainApplication or also for Application default configuration.
解决方案:
修改项目下 .idea\workspace.xml
找到标签 <component name="PropertiesComponent">。在标签里加一行 :
<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" />
<property name="dynamic.classpath" value="true" />
</component>
转载至:https://blog.csdn.net/wochunyang/article/details/84776813