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

Posted 比漂白粉漂白过后的还白

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 ......的主要内容,如果未能解决你的问题,请参考以下文章

Error running ‘go build myfir_go_project‘: Cannot run program

Error running ‘go build myfir_go_project‘: Cannot run program

ERROR : Error appeared during Puppet run: 192.168.1.201_mariadb.pp

IDEA配置Tomcat报错Error running Tomcat9.0怎么解决?

我卸载软件就出现run-time error '53' File not found 应该怎么办 在线等!

devicemapper: Error running deviceCreate (ActivateDevice) dm_task_run failed