apitable icon indicating copy to clipboard operation
apitable copied to clipboard

question: start local env error

Open ghost opened this issue 3 years ago • 3 comments

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

start

ghost avatar Jul 24 '23 18:07 ghost

Please describe the steps you took before you encountered this issue

ranglang avatar Jul 25 '23 02:07 ranglang

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

cloud0072 avatar Jul 27 '23 07:07 cloud0072

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.

mr-kelly avatar Mar 03 '26 03:03 mr-kelly