【JAVA】Eror running “Application‘: Command line is too long. Shorten command line for Application ...

  1. Scenario
    The code fetched from git reports an error when starting the java terminal
  2. 报错提示
    Error running ‘Application’: Command line is too long. Shorten command line for Application or also for Spring Boot default configuration?
    insert image description here
  3. Parsing
    Running "Application": The command line is too long, shorten the command line of the application or Spring Boot's default configuration
  4. Solution
    (1) Click "Application" in the above picture to open the pop-up window "Run/Debug Configurations", which can also be opened as shown in the figure below
    insert image description here
    (2) Operate as shown in the figure below, and re-run after the operation is complete
    insert image description here
    Note: If you open it directly and There is no environment configuration, you can click Edit in the lower left corner at this time
    insert image description here

Guess you like

Origin blog.csdn.net/weixin_47375144/article/details/130987317