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?

IDEA运行报Command line is too long错误解决办法_第1张图片

问题解决办法:
在项目下的 .idea\workspace.xml 中找到 《component name=“PropertiesComponent” 》, 在里加一行

 

添加效果:
IDEA运行报Command line is too long错误解决办法_第2张图片

小伙伴们,你们学会了吗?如果觉得对你们有所帮助,记得给怂怂右上角点个赞哦!你们的点赞就是我最大的鼓励!谢谢小伙伴们啦!

你可能感兴趣的:(#,idea)