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
網上查了一下,有兩種解決方法。

方法一:轉載自:https://blog.csdn.net/ZXJ_1223/article/details/80611089

在項目中找到 .idea\workspace.xml,找到標簽 , 在標簽里加一行

方法二:轉載自:https://blog.csdn.net/zcc_heu/article/details/80682849

打開 run-> edit configuration,修改其中的 Shorten command line,改成 JAR manifest


免責聲明!

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



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM