idea启动报错 Error running CloudApiSampleApplication
提示:这里简述项目相关背景:
2023版idea启动报错 Error running CloudApiSampleApplication. Command line is too long. Shorten the command line and rerun.
问题描述
2023版idea启动报错 Error running CloudApiSampleApplication. Command line is too long. Shorten the command line and rerun.
解决方案:
找到项目的 .idea文件夹,再找到:worcspace.xml
打开后找到下面这段,在第二个花括号里加上:
"dynamic.classpath": "true",
加后如下第二个花括号第一行:
<component name="PropertiesComponent">{
"keyToString": {
"dynamic.classpath": "true",
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"settings.editor.selected.configurable": "preferences.lookFeel",
"vue.rearranger.settings.migration": "true"
}
}</component>