Command line is too long,Shorten command line for WebApplication or also for Spring Boot 的解決辦法

問題概述

在使用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 ” ,如下圖:

 

配置完成後,再次啓動項目就可以咯!!!

 

 

 

 


 好了,關於 Command line is too long,Shorten command line for WebApplication or also for Spring Boot 的解決辦法 就寫到這兒了,如果還有什麼疑問或遇到什麼問題歡迎掃碼提問,也可以給我留言哦,我會一一詳細的解答的。 
歇後語:“ 共同學習,共同進步 ”,也希望大家多多關注CSND的IT社區。


作       者: 華    仔
聯繫作者: [email protected]
來        源: CSDN (Chinese Software Developer Network)
原        文: https://blog.csdn.net/Hello_World_QWP/article/details/103722172
版權聲明: 本文爲博主原創文章,請在轉載時務必註明博文出處!
發佈了321 篇原創文章 · 獲贊 657 · 訪問量 151萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章