问题概述
在使用IntelliJ IDEA工具开发项目的过程中遇到一个梗,项目准备就绪,可是启动不起来,报 “ Command line is too long,Shorten command line for WebApplication or also for Spring Boot default configuration. ” 的错误
如下图:
解决办法
右上角点击向下的三角形 -> Edit Configurations
选择对应的项目 -> Configuration -> Environment -> Shorten command line 选项中选中 “ JAR manifest ” ,如下图:
配置完成后,再次启动项目就可以咯!!!