【学习】springboot项目启动提示启动命令过长

问题描述

今天刚从git上拉取的项目,点击启动就报:Error running 'xxx': Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration

没遇见过,觉得奇怪,所以记录一下。

解决

首先进入配置编辑页面

选择当前启动器->配置->环境配置

选择JAR manifest(classpath file 也可以)

应用并确定后,重新启动项目即可

posted @ 2022-09-23 14:31  小拳头呀  阅读(801)  评论(0编辑  收藏  举报