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 重新运行 成功?
版权声明:本文为weixin_44846429原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。