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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to