springboot启动报错

springboot启动项目报错
Error running ldpServerApplication. Command line is too long.
Shorten the command line via JAR manifest or via a classpath file and rerun.

从来没见过这个错误,而且网上没有答案

img

idea配置问题,按如图方式配置后重试即可

img

img

img

tomcat 9版本冲突,把你项目的tomcat 换成tomcat8版本