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

bowenliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c105da117 [KYUUBI #6638][FOLLOWUP] Authz shaded should include 
jsr311-api
9c105da117 is described below

commit 9c105da1177b5a42fe774cd0d0db5a4d3045beda
Author: Cheng Pan <[email protected]>
AuthorDate: Tue Oct 15 17:24:07 2024 +0800

    [KYUUBI #6638][FOLLOWUP] Authz shaded should include jsr311-api
    
    # :mag: Description
    ## Issue References ๐Ÿ”—
    
    Fix a ClassNotFound issue.
    ```
    java.lang.NoClassDefFoundError: 
org/apache/kyuubi/shade/javax/ws/rs/core/Cookie
    ```
    
    ## Types of changes :bookmark:
    
    - [x] Bugfix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
    
    ## Test Plan ๐Ÿงช
    
    Verified manually.
    
    ---
    
    # Checklist ๐Ÿ“
    
    - [x] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
    
    **Be nice. Be informative.**
    
    Closes #6723 from pan3793/6638-followup.
    
    Closes #6638
    
    56e9842e0 [Cheng Pan] [KYUUBI #6638] authz shaded should include jsr311-api
    
    Authored-by: Cheng Pan <[email protected]>
    Signed-off-by: Bowen Liang <[email protected]>
---
 extensions/spark/kyuubi-spark-authz-shaded/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extensions/spark/kyuubi-spark-authz-shaded/pom.xml 
b/extensions/spark/kyuubi-spark-authz-shaded/pom.xml
index 0cc69d1b9c..6777ce4677 100644
--- a/extensions/spark/kyuubi-spark-authz-shaded/pom.xml
+++ b/extensions/spark/kyuubi-spark-authz-shaded/pom.xml
@@ -52,6 +52,7 @@
                             <include>org.codehaus.jackson:*</include>
                             <include>com.sun.jersey:*</include>
                             <include>com.kstruct:gethostname4j</include>
+                            <include>javax.ws.rs:jsr311-api</include>
                             <!-- JNA is the transitive dependency of 
gethostname4j -->
                             <include>net.java.dev.jna:jna</include>
                             <include>net.java.dev.jna:jna-platform</include>

Reply via email to