SpringBoot报错Error running 'Application': Command line is too long.Shorten command line for

一、报错信息

Error running 'Application':
Command line is too long.Shorten command line for Application or also for Spring Boot default configuration.
1
2
二、报错原因

springboot项目启动命令过长

三、解决办法

点击项目启动配置项 -> shorten command line 选项选择 classpath file 或 java manifest 选项 -> 重新启动工程运行即可

原文地址:https://www.cnblogs.com/cnndevelop/p/12740263.html