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

声明

本文转自:https://blog.csdn.net/ZXJ_1223/article/details/80611089

正文

报错内容

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/yadongliang/p/13410984.html