【已解决】Error running 'xxx项目' Command line is too long(idea版)

【错误】 Error running ‘xxx项目’: Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration.

根据错误信息可知,指令太过长,根据提示缩短指令即可。

在IDEA中找到 Run-> Edit Configurations打开:
在这里插入图片描述
在 Environment-> Shorten command line 的内容配置为 JAR即可解决:
在这里插入图片描述


原文地址:https://blog.csdn.net/senver_wen/article/details/87828798

                                </div>
原文地址:https://www.cnblogs.com/jpfss/p/11602165.html