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

The problem is shown in the figure:

Error running 'SpringBootMainApplication': Command line is too long. Shorten command line for SpringBootMainApplication or also for Application default configuration.

 

 

solution:

Modify the project.idea \ workspace.xml

 

 

Find the tag <component name = "PropertiesComponent">. Add a line to the label:

<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>

 

Reprinted to: https://blog.csdn.net/wochunyang/article/details/84776813

Guess you like

Origin www.cnblogs.com/mh-study/p/12744622.html