本文共 252 字,大约阅读时间需要 1 分钟。
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200807164151253.png)
【错误】 Error running ‘xxx项目’: Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration.
根据错误信息可知,指令太过长,根据提示缩短指令即可。
解决方法:
在IDEA中找到 Run-> Edit Configurations打开:
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200807164255346.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2NtMTU4MzUxMDY5MDU=,size_16,color_FFFFFF,t_70)
在 Environment-> Shorten command line 的内容配置为 JAR即可解决
转载地址:http://cwamb.baihongyu.com/