eclipse的maven仓库地址默认是c盘的,我们一般不把他放在C盘。修改下:
1.windows->Preferences->
注意:setting-xml文件里面直接修改默认仓库位置,这里面修改不了的,直接源文件改成你要的地址,
<localRepository>E:\repository</localRepository>,myeclipse会自动识别你当前maven地址里面得仓库地址参数。
查看:
windows->Preferences->java->Bulid Path ->ClassPath Variable
已经修改成功了,提示:有的可以直接在这里修改的,我的这里被禁止修改,只能在前面那里修改了。