jeanleen opened a new issue, #6119:
URL: https://github.com/apache/seatunnel/issues/6119

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   ```
   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:/datadir/seatunnel-web/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:/datadir/seatunnel-web/libs/datasource-hive-1.0.0.jar!/org/eclipse/jetty/server/session/SessionHandler.class
       
jar:file:/datadir/seatunnel-web/libs/jetty-server-9.4.53.v20231009.jar!/org/eclipse/jetty/server/session/SessionHandler.class
   ```
   显示 datasource-hive 与 jetty-server方法冲突,当我去掉datasource-hive 包,程序可以启动。但是hive 
连接可能出问题,所以有更好解决方法吗  
   
   ### SeaTunnel Version
   
   seatunnel-2.3.3 
   seatunnel-web-1.0.0
   
   ### SeaTunnel Config
   
   ```conf
   官方配置
   ```
   
   
   ### Running Command
   
   ```shell
   sh ./bin/seatunnel-backend-daemon.sh start
   ```
   
   
   ### Error Exception
   
   ```log
   Description:
   
   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:/datadir/seatunnel-web/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:/datadir/seatunnel-web/libs/datasource-hive-1.0.0.jar!/org/eclipse/jetty/server/session/SessionHandler.class
       
jar:file:/datadir/seatunnel-web/libs/jetty-server-9.4.53.v20231009.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:/datadir/seatunnel-web/libs/datasource-hive-1.0.0.jar
       org.eclipse.jetty.server.handler.ScopedHandler: 
file:/datadir/seatunnel-web/libs/datasource-hive-1.0.0.jar
       org.eclipse.jetty.server.handler.HandlerWrapper: 
file:/datadir/seatunnel-web/libs/datasource-hive-1.0.0.jar
       org.eclipse.jetty.server.handler.AbstractHandlerContainer: 
file:/datadir/seatunnel-web/libs/datasource-hive-1.0.0.jar
       org.eclipse.jetty.server.handler.AbstractHandler: 
file:/datadir/seatunnel-web/libs/datasource-hive-1.0.0.jar
       org.eclipse.jetty.util.component.ContainerLifeCycle: 
file:/datadir/seatunnel-web/libs/datasource-hive-1.0.0.jar
       org.eclipse.jetty.util.component.AbstractLifeCycle: 
file:/datadir/seatunnel-web/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
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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-unsubscr...@seatunnel.apache.org.apache.org

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

Reply via email to