title: 记 IDEA 启动 Command line is too long 解决
date: 2022-07-01 15:24:03
tags:
- IDEA
categories: - 问题记录
cover: https://cover.png
feature: false
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",

本文介绍了解决IntelliJ IDEA启动时遇到的Commandlineistoolong问题的方法。针对IDEA 2021及以前版本和2022版,通过修改workspace.xml文件中的dynamic.classpath属性来解决长命令行问题。
3397

被折叠的 条评论
为什么被折叠?



