Could not create local repository at xxx
前几天因为系统出了故障所以重新安装了一下系统,因为安装过程中的失误之前是 (C盘 ,**D盘**,E盘),重装之后变成了(C盘 ,**F盘**,E盘),然后我的的本地仓库是放在D盘,maven以及本地仓库拷贝到F盘后,忘了修改了
![在这里插入图片描述](https://img-blog.csdnimg.cn/20191026093132952.jpg)
然后在idea中运行:mvn clean package docker:build -DpushImagee
就报错了
[ERROR] Could not create local repository at D:\maven\apache-maven-3.5.4\repository -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
从新修改地址后,在重新构建镜像命令就可以了