How Do I Handle the Error "Command line is too long" Reported When Main Is Executed for Remote Topology Submission in IntelliJ IDEA
Question
When the Main method is executed to remotely submit a topology in IntelliJ IDEA, the following error is reported:
Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration.
Answer
- Open the .idea\workspace.xml file in the project.
- Find the <component name="PropertiesComponent"> tag and add <property name="dynamic.classpath" value="true" />, as shown in Figure 1.
Last Article: How Do I Use IDEA to Remotely Debug Services?
Next Article: Storm Development Guide (Normal Mode)

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.