一、问题描述
Error running ‘Application’: Command line is too long. Shorten command line for Application or also for Spring Boot default configuration?
二、原因分析
springboot项目启动命令过长!
三、解决方案
第1步:点击项目启动配置项

第2步:选择出现问题的那个服务,shorten command line 选项选择 JAR manifest 或者 classpath file 选项

注意!!!shorten command line位置可能很多朋友找不到


第3步:重新启动工程运行即可
本文介绍了在SpringBoot项目中遇到的启动命令过长问题,提供了解决方案,包括找到正确的缩短命令行选项(如JARmanifest或classpathfile),以及详细步骤来重启动工程运行。

2914

被折叠的 条评论
为什么被折叠?



