IDEA启动项目时报错:Error running 'CloudTankApplication': Command line is too long. Shorten command line for CloudTankApplication or also for Spring Boot default configuration.

IDEA启动项目时报错:

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

IDEA启动项目时报错:Error running 'CloudTankApplication': Command line is too long. Shorten command line for CloudTankApplication or also for Spring Boot default configuration.

IDEA启动项目时报错:Error running 'CloudTankApplication': Command line is too long. Shorten command line for CloudTankApplication or also for Spring Boot default configuration.

解决方案:

IDEA启动项目时报错:Error running 'CloudTankApplication': Command line is too long. Shorten command line for CloudTankApplication or also for Spring Boot default configuration.

 选择Edit Configurations

IDEA启动项目时报错:Error running 'CloudTankApplication': Command line is too long. Shorten command line for CloudTankApplication or also for Spring Boot default configuration.

  选择JAR mainfest。

  再次启动项目即可。

IDEA启动项目时报错:Error running 'CloudTankApplication': Command line is too long. Shorten command line for CloudTankApplication or also for Spring Boot default configuration.