一、现象
编译时,提示Command line is too long, 无法实现编译运行
二、原因
在遇到的情况下,一般是项目代码量大,对IDEA编译造成一定的负担
三、解决
.idea/workspace.xml中如图位置添加如下代码
<component name="PropertiesComponent">
...
<property name="dynamic.classpath" value="true" />
</component>
编译时,提示Command line is too long, 无法实现编译运行
在遇到的情况下,一般是项目代码量大,对IDEA编译造成一定的负担
.idea/workspace.xml中如图位置添加如下代码
<component name="PropertiesComponent">
...
<property name="dynamic.classpath" value="true" />
</component>