解决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运行内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家!
相关文章
springboot的maven多模块混淆jar包的实现方法
springboot可以使用proguard-maven-plugin 这个插件 在 pom.xml 中自定义proguard 的指令,本文基于 springboot + maven + proguard 的maven多模块架构进行代码混淆,需要的朋友可以参考下2024-03-03
Spring Boot中的WebSocketMessageBrokerConfigurer接口使用
在SpringBoot中,我们可以使用 WebSocketMessageBrokerConfigurer接口来配置WebSocket消息代理,以实现实时通信,具有一定的参考价值,感兴趣的可以了解一下2023-11-11


最新评论