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.

有一种常用的解决方式如下:

找到项目下的.idea/workspace.xml文件,在标签<component name="PropertiesComponent">里添加一行属性:<property name="dynamic.classpath" value="true" />

<component name="PropertiesComponent">
 -- 其它属性不改
 <property name="dynamic.classpath" value="true" />
</component>

 

posted @   10114  阅读(327)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
· 三行代码完成国际化适配,妙~啊~
点击右上角即可分享
微信分享提示