【idea】Command line is too long. Shorten command line for Test or also for Application default config

报错:
在idea中执行JAVA main方法时报错:

Command line is too long. Shorten command line for Test or also for Application default configuration.

问题截图:
【idea】Command line is too long. Shorten command line for Test or also for Application default config_第1张图片
解决方法:
1、项目环境中找到 …/.idea/workspace.xml
【idea】Command line is too long. Shorten command line for Test or also for Application default config_第2张图片
2、在 workspace.xml 文件中 PropertiesComponent里面加上

【idea】Command line is too long. Shorten command line for Test or also for Application default config_第3张图片

你可能感兴趣的:(软件使用,intellij-idea,JAVA)