springboot异常——启动 Error running ‘Application‘: Command line is too long.

原文链接:https://blog.csdn.net/weixin_44768683/article/details/126095839

问题描述
Error running 'Application': Command line is too long. Shorten command line for Application or also for Spring Boot default configuration?

翻译翻译:
运行“Application”时出错:命令行太长。缩短应用程序或Spring Boot默认配置的命令行?

原因分析:
springboot项目启动命令过长!

解决方案:

解决步骤:

点击项目启动配置项
shorten command line 选项选择 JAR manifest 或者 classpath file 选项
重新启动工程运行即可
Step1:点击项目启动配置项

Step2: shorten command line 选项选择 JAR manifest 或者 classpath file 选项

Step3:重新启动工程运行即可

posted @ 2022-09-16 18:16  渝思  阅读(654)  评论(0编辑  收藏  举报