解决Idea运行项目出现Command line is too long

解决Idea运行项目出现Command line is too long

在工作中,idea运行项目报Command line is too long. Shorten command line for className or also for JUnit defaultconfiguration的错误

解决方法:
在该项目的.idea文件夹下找到workspace.xml配置文件,
找到
<component name="PropertiesComponent"> ...... </component>
在component标签下添加<property name="dynamic.classpath" value="true" />
之后重新启动项目,就不会报这个错误了

posted @ 2021-11-04 15:43  TidalCoast  阅读(437)  评论(0编辑  收藏  举报