天天看點

Error running ‘JeecgSystemApplication‘: Command line is too long. Shorten command line for JeecgSys

Error running ‘JeecgSystemApplication‘: Command line is too long. Shorten command line for JeecgSys

1、idea run時報“ Error running ‘JeecgSystemApplication’: Command line is too long. Shorten command line for JeecgSystemApplication or also for Spring Boot default configuration?”

翻譯:運作“JeecgSystemApplication”時出錯:指令行太長。縮短JeecgSystemApplication或Spring引導預設配置的指令行?

解決方案:

(1)點選"run"-> “edit configuration”

Error running ‘JeecgSystemApplication‘: Command line is too long. Shorten command line for JeecgSys

(2)找到"Environment"->“Shorten command line”,并選擇下拉清單中的"JAR manifest"

(3)點選"Apply"->"OK"即可

Error running ‘JeecgSystemApplication‘: Command line is too long. Shorten command line for JeecgSys

2、導入項目後無法進行"Run"操作,可能是由于idea沒幫忙下載下傳依賴導緻的,點選idea右側的“Maven”,點選下圖按鈕重新更新項目依賴,即可看到出現"Run"按鈕。

Error running ‘JeecgSystemApplication‘: Command line is too long. Shorten command line for JeecgSys