解決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ù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!

