IntelliJ IDEA中远程提交拓扑执行Main时报错:Command line is too long
问题
IntelliJ IDEA中远程提交拓扑,执行Main方法时IntelliJ IDEA报如下错 :
Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration.
回答
- 打开项目中“ .idea\workspace.xml”文件。
- 找到标签“<component name="PropertiesComponent"> ” ,在内容中添加“ <property name="dynamic.classpath" value="true" />” ,如图1。