GangLiCN commented on issue #6334:
URL: https://github.com/apache/seatunnel/issues/6334#issuecomment-1963384846
The similar exception listed as below is also caused by this "problematic"
hive jar file:
>
An attempt was made to call a method that does not exist. The attempt was
made from the following location:
org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory.configureSession(JettyServletWebServerFactory.java:267)
The following method did not exist:
org.eclipse.jetty.server.session.SessionHandler.setMaxInactiveInterval(I)V
The calling method's class,
org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory, was
loaded from the following location:
jar:file:/G:/Apache/apache-seatunnel-web-1.0.0-bin/libs/spring-boot-2.6.8.jar!/org/springframework/boot/web/embedded/jetty/JettyServletWebServerFactory.class
The called method's class, org.eclipse.jetty.server.session.SessionHandler,
is available from the following locations:
jar:file:/G:/Apache/apache-seatunnel-web-1.0.0-bin/libs/datasource-hive-1.0.0.jar!/org/eclipse/jetty/server/session/SessionHandler.class
jar:file:/G:/Apache/apache-seatunnel-web-1.0.0-bin/libs/jetty-server-9.4.46.v20220331.jar!/org/eclipse/jetty/server/session/SessionHandler.class
The called method's class hierarchy was loaded from the following locations:
org.eclipse.jetty.server.session.SessionHandler:
file:/G:/Apache/apache-seatunnel-web-1.0.0-bin/libs/datasource-hive-1.0.0.jar
org.eclipse.jetty.server.handler.ScopedHandler:
file:/G:/Apache/apache-seatunnel-web-1.0.0-bin/libs/datasource-hive-1.0.0.jar
org.eclipse.jetty.server.handler.HandlerWrapper:
file:/G:/Apache/apache-seatunnel-web-1.0.0-bin/libs/datasource-hive-1.0.0.jar
org.eclipse.jetty.server.handler.AbstractHandlerContainer:
file:/G:/Apache/apache-seatunnel-web-1.0.0-bin/libs/datasource-hive-1.0.0.jar
org.eclipse.jetty.server.handler.AbstractHandler:
file:/G:/Apache/apache-seatunnel-web-1.0.0-bin/libs/datasource-hive-1.0.0.jar
org.eclipse.jetty.util.component.ContainerLifeCycle:
file:/G:/Apache/apache-seatunnel-web-1.0.0-bin/libs/datasource-hive-1.0.0.jar
org.eclipse.jetty.util.component.AbstractLifeCycle:
file:/G:/Apache/apache-seatunnel-web-1.0.0-bin/libs/datasource-hive-1.0.0.jar
Action:
Correct the classpath of your application so that it contains compatible
versions of the classes
org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory and
org.eclipse.jetty.server.session.SessionHandler
>
--
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]