找到maven的安装目录下的config文件夹下的 settings.xml文件,加上<localRepository>E:\Users\Administrator\.m2\repository</localRepository>即可。