hbase-server下载javax el失败
[toc]
# 异常
项目引入hbase-server
依赖,提示错误Could not find artifact org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT in aliyun (http://maven.aliyun.com/nexus/content/groups/public)
无法下载这个包
# 原因
hbase自带的org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT是个测试版本的,需要先去掉再导入正式版本
# 解决方法
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-server</artifactId>
<version>${hbase.verson}</version>
<exclusions>
<exclusion>
<artifactId>javax.el</artifactId>
<groupId>org.glassfish</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.el</artifactId>
<version>3.0.1-b06</version>
</dependency>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
上次更新: 2023/03/10, 22:18:19