Command line is too long. Shorten command line for... or also for Spring Boot default configuration

报错:

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

Command line is too long. Shorten command line for... or also for Spring Boot default configuration_第1张图片

 

在.idea 文件夹的workspace.xml文件中增加  (注意此文件不会出现在下面的本地改变暂存区, 所以此次修改不会对别的地方产生影响)

Command line is too long. Shorten command line for... or also for Spring Boot default configuration_第2张图片

创建一个测试类,  首次执行失败, 然后修改 Run/Debug Configurations中如下配置 Shorten command line这项改为如下图:

Command line is too long. Shorten command line for... or also for Spring Boot default configuration_第3张图片

然后再执行测试类,  执行成功,  在这些都做完后,  再去执行项目启动主方法,就可以执行成功

Command line is too long. Shorten command line for... or also for Spring Boot default configuration_第4张图片

 

 

你可能感兴趣的:(Command line is too long. Shorten command line for... or also for Spring Boot default configuration)