
# 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.
#### 回答
1. 打开项目中" .idea\\workspace.xml"文件。
2. 找到标签"\<component name="PropertiesComponent"\> " ，在内容中添加" \<property name="dynamic.classpath" value="true" /\>" ，如[图1]。
   
   图1修改" .idea\\workspace.xml"文件   
   ![](https://support.huaweicloud.com/devg3-mrs/zh-cn_image_0000001118418472.png)
   
   
 
