文档首页> MapReduce服务 MRS> 开发指南(普通版_3.x)> Storm开发指南(安全模式)> 更多信息> FAQ> IntelliJ IDEA中远程提交拓扑执行Main时报错:Command line is too long
更新时间:2023-04-18 GMT+08:00
分享

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”文件

分享:

    相关文档

    相关产品