Intellij IDEA运行报Command line is too long解法

报错内容:

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

修改项目下 .ideaworkspace.xml,找到标签 <component name="PropertiesComponent"> , 在标签里加一行  <property name="dynamic.classpath" value="true" />

然后重新运行,使用新的配置即可

原文地址:https://www.cnblogs.com/hkgov/p/11642717.html