Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ MapReduce Service/ Developer Guide (Normal_3.x)/ Storm Development Guide (Normal Mode)/ More Information/ FAQ/ How Do I Handle the Error "Command line is too long" Reported When Main Is Executed for Remote Topology Submission in IntelliJ IDEA

How Do I Handle the Error "Command line is too long" Reported When Main Is Executed for Remote Topology Submission in IntelliJ IDEA

Updated on 2022-09-14 GMT+08:00

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

  1. Open the .idea\workspace.xml file in the project.
  2. Find the <component name="PropertiesComponent"> tag and add <property name="dynamic.classpath" value="true" />, as shown in Figure 1.

    Figure 1 Modifying the .idea\workspace.xml file

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback