zoukankan      html  css  js  c++  java
  • Maven Failure to find com.alibaba:fastjson:pom:1.2.49

    Failure to find com.alibaba:fastjson:pom:1.2.49 in https://pkgs.abc.com/maven was cached in the local repository, 
    resolution will not be reattempted until the update interval of central has elapsed or updates are forced
    虽然我在pom.xml指定了1.2.70版本,仍然报错:找不到fastjson 1.2.49版本
    原因是某些包里依赖了旧版本的fastjson,可以采用逐个注释的方法,找到哪个包依赖了旧版本,并
    用exclusion排除导入对fastjson的依赖:
    <!-- 指定新版本的fastjson: -->
    <dependency>
      <groupId>com.alibaba</groupId>
      <artifactId>fastjson</artifactId>
      <version>1.2.70</version>
    </dependency>
    
    <!-- 排除导入fastjson依赖: -->
    <dependency>
       <groupId>com.weibo</groupId>
       <artifactId>motan-core</artifactId>
       <version>${motan.version}</version>
       <exclusions>
          <exclusion>
             <groupId>com.alibaba</groupId>
             <artifactId>fastjson</artifactId>
          </exclusion>
       </exclusions>
    </dependency>
  • 相关阅读:
    JavaScript 闭包究竟是什么
    Javascript闭包简单理解
    使用border做三角形
    负边距在布局中的使用
    direction和unicode
    CSS 实现打字效果
    你可能没注意的CSS单位
    前端模块化
    JavaScript面向对象
    阿里前端两年随想
  • 原文地址:https://www.cnblogs.com/v5captain/p/14253356.html
Copyright © 2011-2022 走看看