Error running ‘application’ in idea: command line is too long Shorten command line for Application or also for Spring Boot default configuration
Problem background solution 1 (current project settings) solution 2 (global settings)
Lyric: I can’t go to a good school
Command line is too long. Shorten command line for Application or also for Spring Boot default configuration)
Problem background
When idea starts the project, it suddenly reports an error
Error running 'Application':
Command line is too long.Shorten command line for Application or also for Spring Boot default configuration.
Solution:
Method 1 (current project settings)
1 click Edit configurations
in the run drop-down box of the current project. 2 Click environment, select the short command line drop-down box, select classpath file or jar manifest, and click OK to confirm
Method 2 (global setting)
1. Since scheme 1 is the current project setting and other projects are not opened, you can set the global. Click file → new projects settings → run configuration templates for new projects
2. Click springboot project. Other projects are the same as scheme 1
Read More:
- [Solved] Error running ‘ServiceStarter’: Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration
- [Solved] IDEA Start Project Error: Error running ‘xxxxxx‘: Command line is too long. Shorten command line for …..
- Error running ‘Application‘: Command line is too long [How to Solve]
- [Solved] Command line is too long. Shorten command line for XXXXXXXTest.rmLogRecordOver Error running
- Project Startup Error: Error running ‘xxxApplication‘;Command line is too long, Shoerten command line for……..
- [Solved] error running ‘xx‘ Command line is too long shorten command line for xx or also for Spring Boot defa
- IDEA Error: Command line is too long [How to Solve]
- How to Solve IDEA Error: Command line is too long
- Idea error: (44,22) Java: constant string too long
- [Solved] Specified key was too long; max key length is 767 bytes
- Rancher application service error: request entity too large
- Springboot startup error: err config is disabled command (Redis Disables Config command)
- IDEA Error: lombok.extern.slf4j is not exist [How to Solve]
- IDEA Create maven project error: Error running‘[org.apache.maven.pluginsmaven-archetype-pluginRELEASE
- [Solved] Error running ‘myToncat‘: Address localhost:8080 is already in use
- Redis: DENIED Redis is running in protected mode [How to Solve]
- ZK Error contacting service. It is probably not running [How to Solve]
- IDEA was Filed to Start: error launching idea (Failed to create JVM )
- IDEA Maven pom.xml is grayed out and strikethrough appears
- How to Solve the Primary Key of mybatisPlus Inserted Data is too Large Issue