在idea中构建gradle项目报错Command line is too long

近期做项目没用maven,改用gradle。虽说他俩使用起来差不太多,但还是初次使用,使用过程,出现的小问题在此记录下。

克隆项目成功后,找到启动项类,运行项目,报错提示:Command line is too long. Shorten command line for Application or also for Spring Boot default configuration.

经百度后,查到解决方案:

 

 再次运行,即可成功。

posted @ 2021-04-23 09:53  妞妞受氣包  阅读(260)  评论(0编辑  收藏  举报