the working directory ‘XXX’ does not exist

积累点滴~

今天在idea上重新建了一个项目,结果一运行就报了’the working directory ‘XXX’ does not exist’的错误:
the working directory ‘XXX’ does not exist
明明上一个项目都运行好好的,怎么新建一个就出问题了呢?

再看报错信息 是‘G:\LsyJavaStudy\LsyJavaStudy’这个文件夹不存在。
我又去看了看文件夹:
the working directory ‘XXX’ does not exist
the working directory ‘XXX’ does not exist
打开 Run-Edit Configuration:
the working directory ‘XXX’ does not exist
the working directory ‘XXX’ does not exist
原来真的是路径有问题,所以要修改为正确的路径:
the working directory ‘XXX’ does not exist

再次运行就正常了。
the working directory ‘XXX’ does not exist