idea報錯:Error running $classname: Command line is too long. Shorten command line for $classname.

之所以出現這個原因是一般是因爲打印的環境變量太長了,超過了限制,可以嘗試以下方案: 1.按照提示修改該類的配置,選擇jar manifest(每個報錯的類都需要注意設置,項目的.idea/workspace.xml有這個選項,可以修改默認值,這樣就不用每次更改) 2.在項目的.idea/workspace.xml文件中,找到 <component name="PropertiesComponent
相關文章
相關標籤/搜索