一,报错信息
Error running 'PictureApplication':
Command line is too long. Shorten command line for PictureApplication or also for Spring Boot default configuration.
二,错误原因
springboot项目启动命令过长。
三、解决方案
解决方法有两种,正如报错信息截图所示,缩短命令行或者改为应用程序默认配置。
方案一:修改配置
点击项目启动配置项 --> Enviroment --> Shorten command line 选项 --> 选择 classpath file 或JAR manifest 选项 --> 重新启动工程运行即可。