zoukankan      html  css  js  c++  java
  • 导入包报错:Cannot resolve com.xxx

    构建项目时报错:  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进行下载

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

    配置说明:

    ‘’= 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

  • 相关阅读:
    KVCKVO
    音频
    静态库
    百度地图API
    CALayer
    触摸事件
    iOS中打电话、打开网址、发邮件、发短信等
    NSURLSession网络接口
    Quartz2D常见图形的绘制:线条、多边形、圆
    通知中心(NSNotificationCenter)
  • 原文地址:https://www.cnblogs.com/azoveh/p/13113242.html
Copyright © 2011-2022 走看看