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

    在启动微服务项目的某个时候,一直启动不起来,报Command line is too long.Shorten command line for Application or also for Applicatio,在网上查阅资料后,发现这个问题,是因为启动命令太长(就是main方法类)。

   解决方法:

   选择工具栏的Run并下拉选Run,之后会有个弹窗,选择Edit Configgurations,选择 classpath file 或JAR manifest 选项,之后重新启动工程运行就可以了。

 

 

posted @ 2024-04-16 22:59  怀念-2018  阅读(269)  评论(0编辑  收藏  举报