Idea运行时报错Error running xxxx: Command line is too long的解决方法

Idea运行时报错Error running xxxx: Command line is too long的解决方法

idea启动项目时报错信息如下:

Idea运行时报错Error running xxxx: Command line is too long的解决方法

解决办法如下:

找到 workspace.xml
Idea运行时报错Error running xxxx: Command line is too long的解决方法
找到
Idea运行时报错Error running xxxx: Command line is too long的解决方法
在里面加入
<property name="dynamic.classpath" value="true" />

再次启动项目,问题解决