You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2020/04/21 04:51:31 UTC

[hbase] branch branch-2 updated: HBASE-24215 [Flakey Tests] [ERROR] TestSecureRESTServer java.lang.NoClassDefFoundError: com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate (#1553)

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

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


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 6c69b65  HBASE-24215 [Flakey Tests] [ERROR] TestSecureRESTServer java.lang.NoClassDefFoundError: com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate (#1553)
6c69b65 is described below

commit 6c69b65e4ff71c93c94899b574a9863e3a2c5ecc
Author: Michael Stack <sa...@users.noreply.github.com>
AuthorDate: Mon Apr 20 21:51:16 2020 -0700

    HBASE-24215 [Flakey Tests] [ERROR] TestSecureRESTServer java.lang.NoClassDefFoundError: com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate (#1553)
---
 hbase-rest/pom.xml | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml
index 6ac5b8e..209d22a 100644
--- a/hbase-rest/pom.xml
+++ b/hbase-rest/pom.xml
@@ -215,6 +215,22 @@
          <groupId>com.sun.jersey</groupId>
          <artifactId>jersey-core</artifactId>
         </exclusion>
+        <exclusion>
+         <groupId>com.sun.jersey</groupId>
+         <artifactId>jersey-client</artifactId>
+        </exclusion>
+        <exclusion>
+         <groupId>com.sun.jersey</groupId>
+         <artifactId>jersey-server</artifactId>
+        </exclusion>
+        <exclusion>
+         <groupId>com.sun.jersey</groupId>
+         <artifactId>jersey-json</artifactId>
+        </exclusion>
+        <exclusion>
+         <groupId>com.sun.jersey.contribs</groupId>
+         <artifactId>jersey-guice</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
@@ -411,6 +427,10 @@
               <groupId>com.google.guava</groupId>
               <artifactId>guava</artifactId>
             </exclusion>
+            <exclusion>
+              <groupId>com.sun.jersey</groupId>
+              <artifactId>jersey-server</artifactId>
+            </exclusion>
           </exclusions>
         </dependency>
         <dependency>
@@ -488,6 +508,28 @@
           <groupId>org.apache.hadoop</groupId>
           <artifactId>hadoop-mapreduce-client-core</artifactId>
           <scope>test</scope>
+          <exclusions>
+            <exclusion>
+              <groupId>com.sun.jersey</groupId>
+              <artifactId>jersey-client</artifactId>
+            </exclusion>
+            <!--
+            Can't exclude this one; dependency on com.sun.xml package
+              included from here.
+            <exclusion>
+              <groupId>com.sun.jersey</groupId>
+              <artifactId>jersey-json</artifactId>
+            </exclusion>
+            -->
+            <exclusion>
+              <groupId>com.sun.jersey.contribs</groupId>
+              <artifactId>jersey-guice</artifactId>
+            </exclusion>
+            <exclusion>
+              <groupId>com.sun.jersey</groupId>
+              <artifactId>jersey-server</artifactId>
+            </exclusion>
+          </exclusions>
         </dependency>
         <dependency>
           <groupId>org.apache.hadoop</groupId>