解決Intellij IDEA運行報Command line is too long的問題
報錯信息大概如下:
Error running 'xxx':
Command line is too long. Shorten command line for xxx or also for Application default configuration.
解決方案(1):
找到項目下的.idea/workspace.xml,在標簽<component name="PropertiesComponent">
里添加一行屬性:<property name="dynamic.classpath" value="true" />
<component name="PropertiesComponent"> 其它屬性不改 <property name="dynamic.classpath" value="true" /> </component>
解決方案(2):
打開程序的運行配置,把Shorten command line
改為JAR manifest
或classpath file
,如圖所示:
總結
到此這篇關于解決Intellij IDEA運行報Command line is too long的問題的文章就介紹到這了,更多相關Intellij IDEA運行內容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!
相關文章
SpringBoot整合Redis實現(xiàn)緩存分頁數(shù)據查詢功能
類似淘寶首頁,這些商品是從數(shù)據庫中查出來的嗎,答案肯定不是,本文我們就通過一個案例實操一下,首頁熱點數(shù)據怎么放到Redis中去查詢,感興趣的同學可以參考一下2023-06-06