idea启动 main 函数时,报 Command line is too long Shorten command xxx

BillyYang / 2024-09-27 / 原文

idea启动 main 函数时,报 Command line is too long Shorten command xxx 

 

一、解决办法

  1. 找到 .idea 下面的 workspace.xml
  2. 找到以下属性 PropertiesComponent,添加 dynamic.classpath 属性
<property name="dynamic.classpath" value="true" />

  结果如下:

以上,问题即可解决~~