记 IDEA 启动 Command line is too long 解决

1. IDEA 2021 及之前

在项目的 .idea 文件中,找到 workspace.xml 文件
在这里插入图片描述
打开,找到 <component name="PropertiesComponent"> 标签,在里面加上一条
<property name="dynamic.classpath" value="true" />

2. IDEA 2022

照样在项目的 .idea 文件中,找到 workspace.xml 文件,同样找到 <component name="PropertiesComponent"> 标签,加上 "dynamic.classpath": "true",
在这里插入图片描述

posted @ 2022-12-21 14:43  凡223  阅读(12)  评论(0编辑  收藏  举报