IDEA启动SpringBoot程序报错:Command line is too long. Shorten command line for xxxApplication or also for Spring Boot default configuration

分类:计算机 | 开发工具 | IntelliJ IDEA | 综合 217
更新:2022-04-13 18:30:02
编辑

1 异常描述

在IDEA中启动某个SpringBoot程序时报错:Command line is too long. Shorten command line for xxxApplication or also for Spring Boot default configuration。

2 异常解决

1、打开Run/Debug Configurations窗体。

2、在窗体右侧的"Configuration"标签页的Shorten command line中选择“classpath file”,点击Apply按钮进行应用。