maven build时提示IDEA The specified project xxxx directory does not exist

359 阅读1分钟

起因:

手动删除过某个子项目。导致maven编译时报项目找不到。 image.png

解决方案:

进入.idea的gradel.xml文件,找到删除过的项目名,删掉即可。 image.png 删掉如下内容:包含not found的子项目 image.png