解决IDEA运行类或单元测试的时候报错:Error running xxx. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.
缺点是每个启动类都需要配置,很麻烦

一劳永逸,一个项目只需要配置一次
需要在
添加 (2022版本是JSON格式的)
"dynamic.classpath": "true"
如果您的是老版本idea,需要加
<property name="dynamic.classpath" value="true" />
具体你需要看他里面的例子是怎么加的
