This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.2 by this push:
     new f4067f3  HBASE-22249 Rest Server throws NoClassDefFoundError with Java 
11 (run-time)
f4067f3 is described below

commit f4067f3c7b8f790b7112f9a87fdb8992f4300cfb
Author: Sakthi <[email protected]>
AuthorDate: Mon Apr 15 17:52:44 2019 -0700

    HBASE-22249 Rest Server throws NoClassDefFoundError with Java 11 (run-time)
    
    Signed-off-by: Andrew Purtell <[email protected]>
---
 hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm | 2 +-
 hbase-rest/pom.xml                                           | 4 ++++
 pom.xml                                                      | 5 +++++
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm 
b/hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm
index 0b1ad13..78b6764 100644
--- a/hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm
+++ b/hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm
@@ -1340,7 +1340,7 @@ You can redistribute it and/or modify it under either the 
terms of the
 ## See this FAQ link for justifications: 
https://www.apache.org/legal/resolved.html
 ##
 ## NB: This list is later compared as lower-case. New entries must also be all 
lower-case
-#set($non_aggregate_fine = [ 'public domain', 'new bsd license', 'bsd 
license', 'bsd', 'bsd 2-clause license', 'mozilla public license version 1.1', 
'mozilla public license version 2.0', 'creative commons attribution license, 
version 2.5' ])
+#set($non_aggregate_fine = [ 'public domain', 'new bsd license', 'bsd 
license', 'bsd', 'bsd 2-clause license', 'mozilla public license version 1.1', 
'mozilla public license version 2.0', 'creative commons attribution license, 
version 2.5', 'cddl/gplv2+ce' ])
 ## include LICENSE sections for anything not under ASL2.0
 #foreach( ${dep} in ${projects} )
 ## if there are no licenses we'll fail the build later, so
diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml
index b4e332b..d3d3258 100644
--- a/hbase-rest/pom.xml
+++ b/hbase-rest/pom.xml
@@ -292,6 +292,10 @@
       <artifactId>javax.servlet-api</artifactId>
     </dependency>
     <dependency>
+      <groupId>com.sun.activation</groupId>
+      <artifactId>javax.activation</artifactId>
+    </dependency>
+    <dependency>
       <groupId>org.eclipse.jetty</groupId>
       <artifactId>jetty-server</artifactId>
     </dependency>
diff --git a/pom.xml b/pom.xml
index 8472b50..315a52e 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1919,6 +1919,11 @@
         <version>${wx.rs.api.version}</version>
       </dependency>
       <dependency>
+        <groupId>com.sun.activation</groupId>
+        <artifactId>javax.activation</artifactId>
+        <version>1.2.0</version>
+      </dependency>
+      <dependency>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-server</artifactId>
         <version>${jetty.version}</version>

Reply via email to