IDEA 2022.2.3 启动SpringBoot项目报 Error running ApplicationBoot. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.
启动错误
Error running ApplicationBoot. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.
翻译:
- 运行ApplicationBoot时出错。命令行太长。通过JAR清单或类路径文件缩短命令行并重新运行。
解决方案
1、点击springboot的启动配置项
2、点击
modify options
(修改选项)
3、选择
Shorten command line
(缩短命令行)
4、选择 JAR manifest
或者
classpath file` 选项 我这里选择的是classpath file选项
5、点击apply ok 重新运行 成功😊