Error running ‘xxApplication‘: Command line is too long. Shorten command line for ......

Posted Biubbbbbbbbiu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error running ‘xxApplication‘: Command line is too long. Shorten command line for ......相关的知识,希望对你有一定的参考价值。

idea 项目无法启动解决报错: Error running ‘xxApplication’: Command line is too long. Shorten command line for SvrCloudCareApplication or also for Spring Boot default configuration.

idea无法启动:

解决方案:
Run —— Edit Configurations

Run/Debug Configurations——Configuration
展开Environment——Shorten command line:

打开 Shorten command line: 的下拉列表
选择 JAR manifest

之后选择应用保存,便可正常启动运行:

以上是关于Error running ‘xxApplication‘: Command line is too long. Shorten command line for ......的主要内容,如果未能解决你的问题,请参考以下文章