Error running 'api': Command line is too long. Shorten command line for api or also for Spring Bo...

在启动一个SpirngBoot项目时发生了一个错误:

Error running 'api': Command line is too long. Shorten command line for api or also for Spring Boot default configuration.

命令行过长,打开 /.idea/workspace.xml 文件, Ctrl+F ,搜索 PropertiesComponent ,在

这个结构里面增加:这一行,如下图所示

这个属性因该是为整个项目配置自动缩短命令行的,修改完再次启动,问题解决。

你可能感兴趣的:(Error running 'api': Command line is too long. Shorten command line for api or also for Spring Bo...)