解决:Command line is too long. In order to reduce its length classpath file can be used.

2020-04-08 16:59:14 浏览数 (1)

1. 原本可以正常运行的项目,突然出现这个错:

代码语言:javascript复制
Command line is too long. In order to reduce its length classpath file can be used.
Would you like to enable classpath file mode for all run configurations of your project?Enable

2. 解决方法:

修改项目下 .ideaworkspace.xml,找到标签 <component name="PropertiesComponent"> , 在标签里加一行 <property name="dynamic.classpath" value="true" />

0 人点赞