报错内容
Error running ‘ServiceStarter’: Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration.
解决方案
(1)、在.idea中找到workspace.xml,点进去

(2)、ctrl + f 输入 PropertiesComponent

(3)、找到component

(4)、加入下属代码,到此就可以咯,重启项目就可以了
<property name="dynamic.classpath" value="true" />
本文解决了一个常见的开发问题:当使用ServiceStarter时遇到命令行过长的错误。通过修改.idea/workspace.xml文件中的属性,设置dynamic.classpath为true,可以有效解决该问题,确保项目的正常运行。
2222

被折叠的 条评论
为什么被折叠?



