Spring Boot项目启动时报错:Error running 'Application': Command line is too long

环境:jdk 1.8

springboot 2.0.5

报错信息:

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

Spring Boot项目启动时报错:Error running 'Application': Command line is too long_第1张图片

解决办法:

在该项目根目录下找到 .idea目录 

修改workspace.xml配置

Spring Boot项目启动时报错:Error running 'Application': Command line is too long_第2张图片

 

标签下加入 

如图所示:

Spring Boot项目启动时报错:Error running 'Application': Command line is too long_第3张图片

再次启动就ok了

 

 

你可能感兴趣的:(Spring,Boot)