解決Intellij IDEA運(yùn)行報(bào)Command line is too long的問題
報(bào)錯(cuò)信息大概如下:
Error running 'xxx':
Command line is too long. Shorten command line for xxx or also for Application default configuration.
解決方案(1):
找到項(xiàng)目下的.idea/workspace.xml,在標(biāo)簽<component name="PropertiesComponent">里添加一行屬性:<property name="dynamic.classpath" value="true" />
<component name="PropertiesComponent"> 其它屬性不改 <property name="dynamic.classpath" value="true" /> </component>
解決方案(2):
打開程序的運(yùn)行配置,把Shorten command line改為JAR manifest或classpath file,如圖所示:

總結(jié)
到此這篇關(guān)于解決Intellij IDEA運(yùn)行報(bào)Command line is too long的問題的文章就介紹到這了,更多相關(guān)Intellij IDEA運(yùn)行內(nèi)容請(qǐng)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
相關(guān)文章
java GUI實(shí)現(xiàn)加法計(jì)算器
這篇文章主要為大家詳細(xì)介紹了java GUI實(shí)現(xiàn)加法計(jì)算器,文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2021-04-04
springboot的maven多模塊混淆jar包的實(shí)現(xiàn)方法
springboot可以使用proguard-maven-plugin 這個(gè)插件 在 pom.xml 中自定義proguard 的指令,本文基于 springboot + maven + proguard 的maven多模塊架構(gòu)進(jìn)行代碼混淆,需要的朋友可以參考下2024-03-03
Spring Boot中的WebSocketMessageBrokerConfigurer接口使用
在SpringBoot中,我們可以使用 WebSocketMessageBrokerConfigurer接口來(lái)配置WebSocket消息代理,以實(shí)現(xiàn)實(shí)時(shí)通信,具有一定的參考價(jià)值,感興趣的可以了解一下2023-11-11

