You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "FANNG1 (via GitHub)" <gi...@apache.org> on 2025/06/13 10:49:04 UTC

[I] [Bug report] standalone Iceberg REST server failed to start with oauth [gravitino]

FANNG1 opened a new issue, #7387:
URL: https://github.com/apache/gravitino/issues/7387

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   standalone Iceberg REST server failed to start with oauth 
   
   ### Error message and/or stacktrace
   
   ```
   Exception in thread "main" java.lang.NoClassDefFoundError: io/jsonwebtoken/ExpiredJwtException
           at java.base/java.lang.Class.forName0(Native Method)
           at java.base/java.lang.Class.forName(Class.java:375)
           at org.apache.gravitino.server.authentication.AuthenticatorFactory.createAuthenticators(AuthenticatorFactory.java:55)
           at org.apache.gravitino.server.authentication.ServerAuthenticator.initialize(ServerAuthenticator.java:51)
           at org.apache.gravitino.iceberg.server.GravitinoIcebergRESTServer.initialize(GravitinoIcebergRESTServer.java:51)
           at org.apache.gravitino.iceberg.server.GravitinoIcebergRESTServer.main(GravitinoIcebergRESTServer.java:73)
   Caused by: java.lang.ClassNotFoundException: io.jsonwebtoken.ExpiredJwtException
           at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
           at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
           at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
   ```
   
   ### How to reproduce
   
   1. enable `oauth`
   ```
   gravitino.authenticators = oauth
   ```
   
   2. start up stand alone iceberg rest server
   ./bin/gravitino-iceberg-rest-server.sh restart
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] standalone Iceberg REST server failed to start with oauth [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao closed issue #7387: [Bug report] standalone Iceberg REST server failed to start with oauth
URL: https://github.com/apache/gravitino/issues/7387


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org