Maven中Could not create local repository

原因:
1.setting.xml 中的localRepository标签中的地址不正确(寡人移动了maven仓库的位置,未重新配置环境变量及修改setting配置文件
2.计算机当前用户对localRepository中地址所在的文件夹权限不够(我碰到的就是这个问题)
解决:
1.确认setting.xml文件中localRepository中的地址是否存在
2.修改仓库文件夹的权限为完全控制即可(不会修改权限的同学,搜索一下修改方法)

猜你喜欢

转载自blog.csdn.net/None_yel/article/details/88721223
今日推荐