我是靠谱客的博主 辛勤水蜜桃,最近开发中收集的这篇文章主要介绍Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT from/to public-snapshots,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

 报错:

  • Downloading dependencies
  • Downloading org.glassfish:javax.el::3.0.1-b06-SNAPSHOT
  • Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT from/to public-snapshots (http://public-snapshots): Transfer failed for http://public-snapshots/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/javax.el-3.0.1-b06-SNAPSHOT.pom
  • Downloading org.glassfish:javax.el::3.0.1-b07-SNAPSHOT
  • Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b07-SNAPSHOT from/to public-snapshots (http://public-snapshots): Transfer failed for http://public-snapshots/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/javax.el-3.0.1-b07-SNAPSHOT.pom
  • Downloading org.glassfish:javax.el::3.0.1-b08-SNAPSHOT
  • Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b08-SNAPSHOT from/to public-snapshots (http://public-snapshots): Transfer failed for http://public-snapshots/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/javax.el-3.0.1-b08-SNAPSHOT.pom
  • Downloading org.glassfish:javax.el::3.0.1-b11-SNAPSHOT
  • Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b11-SNAPSHOT from/to public-snapshots (http://public-snapshots): Transfer failed for http://public-snapshots/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/javax.el-3.0.1-b11-SNAPSHOT.pom
  • Resolve dependencies
  • Cannot resolve public-snapshots

原因:hbase自带的org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT是个测试版本的,需要先去掉再导入正式版本

处理

        <dependency>
            <groupId>org.apache.hbase</groupId>
            <artifactId>hbase-server</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.glassfish</groupId>
                    <artifactId>javax.el</artifactId>
                </exclusion>
            </exclusions>

            <version>2.4.11</version>
        </dependency>

<dependency>
         <groupId>org.glassfish</groupId>
          <artifactId>javax.el</artifactId>
         <version>3.0.1-b06</version>
</dependency>

最后

以上就是辛勤水蜜桃为你收集整理的Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT from/to public-snapshots的全部内容,希望文章能够帮你解决Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT from/to public-snapshots所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(37)

评论列表共有 0 条评论

立即
投稿
返回
顶部