question: start local env error
when run local application an error occurred as follows :
Error running Application. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun
Please describe the steps you took before you encountered this issue
You seem to use run with springboot instead of run with gradle . It is recommended to use cmd make run + 1 to run the program. If you need to debug, you can use java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar application/build/libs/application.jar
As our community contributor kindly explained, this is a common IDE limitation when directly running Spring Boot applications with long classpaths. Please use the make run command (or the gradle tasks) as recommended in our developer guide, or enable the "Shorten command line" option in your IntelliJ IDEA settings. We will close this issue for now.