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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.