Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration 主要是命令行太长了,导致项目启动不成功
目录
2、修改命令行的方式,shorten command line 选项选择 JAR manifest 或者 classpath file 选项,最后apply
一、情景再现:
当运行启动类时,报Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration错。
二、分析原因:
主要是命令行太长了,导致项目启动不成功
三、解决方法:
1、点击启动类编译文件:
2、修改命令行的方式,shorten command line 选项选择 JAR manifest
或者 classpath file
选项,最后apply
3、重新启动即可,运行成功
- line configuration for 命令 Commandline configuration for命令 configure command found line application line configuration for demoapplication line configuration for command-line command-line-arguments command basics linux line command-line-arguments arguments undefined command flutter android command-line sdkmanager line xxxapplication command running