概述
报错:
- 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>
最后
以上就是辛勤水蜜桃为你收集整理的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所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复