背景:最近更改类IDEA某个JAVA项目的名称,使用Junit测试项目时报错:Error running 'XXX': Cannot start process, the working directory 'xxx\xxx\xxx ' does not exist。

        原因:更改项目名称,原有的测试路径发生变化。

        解决方法:

        打开:IDEA>Run>Edit Configurations

问题:Error running 'XXX': Cannot start process, the working directory 'xxx\xxx\xxx ' does not exist

        删除左边JUnit下面测试方法,再次运行即可。

问题:Error running 'XXX': Cannot start process, the working directory 'xxx\xxx\xxx ' does not exist

相关文章:

  • 2022-12-23
  • 2021-04-18
  • 2021-04-18
  • 2021-10-09
  • 2021-08-12
  • 2021-07-13
  • 2021-04-09
猜你喜欢
  • 2021-07-04
  • 2021-09-13
  • 2021-09-19
  • 2021-05-11
  • 2021-08-26
  • 2021-07-09
  • 2021-11-18
相关资源
相似解决方案