Idea启动项目报错:Command line is too long. Shorten command line for className or also for JUnit defaultconfiguration.

如下图所示:

IDEA编译项目报错:Command line is too long

 

解决方法:

在该项目文件夹.idea/workspace.xml中搜索 “PropertiesComponent ”找到

<component name="PropertiesComponent">

  ...

</component>

然后在其中添加:

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

问题得到解决。

相关文章:

  • 2022-01-15
  • 2021-12-26
  • 2022-12-23
  • 2021-07-03
  • 2021-04-02
  • 2021-07-30
  • 2021-08-06
  • 2021-05-19
猜你喜欢
  • 2021-04-07
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
  • 2021-08-02
  • 2021-05-03
相关资源
相似解决方案