1 问题描述:
      新建main方法, 在控制台选择run时出现Error running 'B': Cannot start process, the working directory 'F:\demo\demo' does not exist, 如下图

初学IDEA遇到Error running 'B': Cannot start process, the working directory 'F:\demo\demo' does not exist

2 解决办法:

2.1 选择IDEA右上角的Edit Configurations

初学IDEA遇到Error running 'B': Cannot start process, the working directory 'F:\demo\demo' does not exist

2.2 把Working directory 对应的输入框里的内容去掉或者选择$MONDULE_DIR$

2.3 然后Apply --> OK, 再次运行就没问题了

初学IDEA遇到Error running 'B': Cannot start process, the working directory 'F:\demo\demo' does not exist

相关文章:

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