Error running 'App': Command line is too long. Shorten command line for App or also for Spring Boot default configuration.

找到标签 <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" />
</component>

转载文章:https://blog.csdn.net/wochunyang/article/details/84776813

复制请注明出处,在世界中挣扎的灰太狼
原文地址:https://www.cnblogs.com/XingXiaoMeng/p/14507347.html