构建项目时报错:  Cannot resolve com.gexin.platform:gexin-rp-sdk-http:4.1.1.4

gexin-rp-sdk-http:jar:4.1.1.4总是无法下载,百度到的处理方法,记录一下,方便以后查询使用。


解决方式:

修改本地maven/config/目录下的settings.xml文件,在原先配置aliyun镜像处,修改mirroOf参数值 加上  ,!getui-nexus 

标识getui-nexus这个依赖不从aliyun进行下载

注意逗号,因为多个要用逗号隔开

导入包报错:Cannot resolve com.xxx

 

 

配置说明:

‘’= everything
external:* = everything not on the localhost and not file based.
repo,repo1 = repo or repo1
*,!repo1 = everything except repo1

配置完成后,还需要在Eclipse中更新配置文件,以生效。

菜单栏Window——Preferencecs——Maven——User Setting–update Settings applyandclose

然后 maven updateproject


结束语:

  如果出现其他ali镜像无法下载,可以将getui-nexus 相应的替换 仓库ID

导入包报错:Cannot resolve com.xxx

 

相关文章:

  • 2021-09-08
  • 2021-09-07
  • 2021-07-29
  • 2022-12-23
  • 2021-08-20
  • 2022-12-23
  • 2023-01-16
猜你喜欢
  • 2021-06-02
  • 2021-11-15
  • 2021-04-19
  • 2021-07-28
  • 2021-12-12
  • 2021-12-25
  • 2021-06-18
相关资源
相似解决方案