解决 Error running ‘Application‘: Command line is too long.

项目场景:

运行刚拉取下来的项目代码,出现下面问题描述的错误提示。


问题描述

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

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


原因分析:

springboot项目启动命令过长!


解决方案:

解决步骤:

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

Step1:点击项目启动配置项

在这里插入图片描述

Step2shorten command line 选项选择 JAR manifest 或者 classpath file 选项

在这里插入图片描述

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

省略图… …祝您工作顺利!


版权声明:本文为weixin_44768683原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。