IDEA运行报Command line is too long错误解决办法

运行idea的时候,突然发现项目跑不了;出现以下错误:

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?


2·7.jpg


问题解决办法:

在项目下的 .idea\workspace.xml 中找到 《component name=“PropertiesComponent” 》, 在里加一行

<property name="dynamic.classpath" value="true" />

添加效果:


2·8.jpg


阅读0
分享