问题:

  使用idea开发Java项目,写单元测试,debug时,会有红字报错:Command line is too long

解决方法:
  在项目的目录下,找到/.idea/workspace.xml文件,打开搜索PropertiesComponent,并在PropertiesComponent内添加一行代码:<property name="dynamic.classpath" value="true" />

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

 

相关文章:

  • 2021-07-30
  • 2021-11-16
  • 2021-08-06
  • 2021-05-19
  • 2021-04-08
  • 2021-12-14
  • 2021-05-10
猜你喜欢
  • 2021-10-12
  • 2021-04-07
  • 2022-12-23
  • 2021-08-02
  • 2021-05-03
  • 2022-12-23
相关资源
相似解决方案