成功解決 運行報錯信息:Error running xxx項目: Command line is too long. Shorten command line for xxx項目 or also for Spring Boot default configuration.


報錯信息:Error running xxx項目: Command line is too long. Shorten command line for xxx項目 or also for Spring Boot default configuration.

  • 已解決,報錯信息如圖:
    大概意思是命令行太長導致。
    image

  • 解決方式如下:
    點EditConfigurations... 找到Shorten command line: 選后兩個中的一個即可(系統默認是第一個),如圖:
    image
    點 OK 后重新運行后成功,運行正常。

  • 總結/出現原因:
    個人感覺可能是項目名長,從而引起命令行過長,導致報錯。(僅個人猜測,歡迎更正和討論其他原因)

  • 個人操作結果:
    直接按上述過程點完后解決,然后后兩個選項都試了試,都成功了,為了確認是否確實是這個原因導致,再換回來第一個系統默認后運行重新報該錯,再次切回解決。(其實直接點報錯信息中的 default 也可以跳到設置彈窗)


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 Springboot項目啟動報【Error running 'xxx': Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration.】錯誤解決 idea,運行SpringBoot項目提示命令行太長:Error running 'TeasApplication': Command line is too long. Shorten command line for TeasApplication or also for Spring Boot default configuration. IDEA啟動項目時報錯:Error running 'Application': Command line is too long. Shorten command line for Application or also for Spring Boot default configuration. Error running 'JeecgSystemApplication': Command line is too long. Shorten command line for JeecgSystemApplication or also for Spring Boot default configuration. java 項目啟動異常 Command line is too long. Shorten command line for xxxApplication or also for Spring Boot default configuration. idea 啟動項目提示 Command line is too long. Shorten command line for Application or also for Spring Boot default configuration. 【springcloud】【idea】啟動服務報錯Command line is too long. Shorten command line for XXXApplication or also for Spring Boot default configuration. Error running 'JeecgSystemCloudApplication': Command line is too long. Shorten command line for JeecgSystemCloudApplication or also for Spring Boot default configuration? IDEA 運行報錯:Error running ' XXX ': Command line is too long. Shorten command line for XXX IDEA 運行報錯:Error running ' XXX ': Command line is too long. Shorten command line for XXX
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM