This article is an original article of Joshua 317. Please note that it is reproduced from Joshua 317 blog Solve the problem of error running xxxapplication command line is too long – Joshua 317 when compiling IntelliJ idea
Idea reports an error when compiling the project, and the saved information is as follows:
15:42 Error running 'xxxxApplication': Command line is too long. Shorten command line for xxxxApplication or also for Spring Boot default configuration.
Solution 1
Found in the project folder. Idea/workspace.xml
<component name="PropertiesComponent">
...
</component>
Then add a row of attributes to solve the problem:
<property name="dynamic.classpath" value="true" />
Solution 2
Open the running configuration of the program and change short command line
to jar manifest
or classpath file
, as shown in the figure:
This article is an original article of Joshua 317. Please note that it is reproduced from Joshua 317 blog Solve the problem of error running xxxapplication command line is too long – Joshua 317 when compiling IntelliJ idea
Read More:
- Idea running error running ‘application’: solution to command line is too long
- Idea: error running Name: command line is too long
- 1. Error running ‘application’ occurs when the command line is too long
- Error running ‘SpringCloudStarter‘: Command line is too long. Shorten comman
- Error running ‘application’: command line is too long. Short command line for application
- Error in idea unit test command line is too long
- Idea Startup Error: Command line is too long [How to Solve]
- Error command line is too long when idea project is started [How to Solve]
- Command line is too long. Shorten command line for QuestionnaireApplication or also for Spring Boot
- Idea for Mac setting JVM running parameters to solve running stuck problem
- Error running ‘xxxapplication’: no JDK for module ‘xxx’
- Solve the problem that target code version of Maven project sub module in IntelliJ idea is always rolled back
- When IntelliJ idea is programmed, 1. Black thick line or black cursor appears; 2. The solution of carriage return unable to wrap. (practical recommendation method 2)
- IIS “Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long.”
- Halo blog system reports log error when idea is running
- Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long
- To solve the problem of failed to load: data in HTML5 game running rmmv locally/ actors.json problem
- CMake_ Compiling VTK_ 9.0.0 running vtkcommoncolor DLL has access conflict
- When the spring MVC project is running on idea, an error is reported when the controller is a null pointer
- Running Ubuntu 16.04 in VMware to solve the full screen problem