报错信息:Error running ‘JsaasApplication’: Command line is too long. Shorten command line for JsaasApplication or also for Spring Boot default configuration.
解决方法一:
在项目的.idea文件夹下的wordspace.xml中找到下面代码并且添加标红字体的配置项即可。
<component name="PropertiesComponent">
<property name="Git.Branch.Popup.ShowAllRemotes" value="true" />
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/pom.xml" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="settings.editor.selected.configurable" value="project.propCompiler" />
<property name="dynamic.classpath" value="true" />
</component>
或者是底下的地方,不同的版本内容可能不太一样,但是内容差不多。
<component name="PropertiesComponent">{
"keyToString" {
"last_opened_file_path","$PROJECT_DIR$/pom.xml",
"dynamic.classpath": "true"
}
解决方法二:调整内存大小: