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

Posted 默慊$

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决:Command line is too long. In order to reduce its length classpath file can be used.相关的知识,希望对你有一定的参考价值。

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

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. 解决方法:

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

以上是关于解决:Command line is too long. In order to reduce its length classpath file can be used.的主要内容,如果未能解决你的问题,请参考以下文章

Command line is too long的解决办法

idea解决Command line is too long. Shorten command line for ServiceStarter or also for Application报错

解决 Error running ‘Application‘: Command line is too long.

Error running ‘xxApplication‘: Command line is too long. Shorten command line for ......

Error running ‘xxApplication‘: Command line is too long. Shorten command line for ......

Intellij IDEA运行报错Command line is too long的处理解决方法