Error running ‘App‘: Command line is too long. Shorten command line for App or also for Spring Boot

时间:2024-04-14 07:20:39

今天新拉取的项目启动时,Springboot Debug启动报错:Error running ‘App’: Command line is too long. Shorten command line for App or also for Spring Boot default configuration.

后在网上了解,需要找到.idea下的workspace.xmlError running ‘App‘: Command line is too long. Shorten command line for App or also for Spring Boot

再找到标签
在标签内加一行


或者找到项目启动配置Error running ‘App‘: Command line is too long. Shorten command line for App or also for Spring Boot
选择这两个任意一个即可Error running ‘App‘: Command line is too long. Shorten command line for App or also for Spring Boot