Error running ‘Application’: Command line is too long. Shorten command line for Application or also for Spring Boot default configuration?
idea拉取git代码之后,启动报错
修改idea配置文件,进入.idea文件夹,找到workspace.xml文件:
在里面找到<component name=“PropertiesComponent”>项,加上以下配置:
<property name="dynamic.classpath" value="true" />
结果如下:
<component name="PropertiesComponent">
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="settings.editor.selected.configurable" value="MavenSettings" />
<property name="dynamic.classpath" value="true" />
</component>