You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "jeanleen (via GitHub)" <gi...@apache.org> on 2024/01/03 01:38:34 UTC
[I] web 无法启动,找不到方法 org.eclipse.jetty.server.session.SessionHandler.setMaxInactiveInterval(I)V [seatunnel]
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-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] web 无法启动,找不到方法 org.eclipse.jetty.server.session.SessionHandler.setMaxInactiveInterval(I)V [seatunnel]
Posted by "RijuKim (via GitHub)" <gi...@apache.org>.
RijuKim commented on issue #6119:
URL: https://github.com/apache/seatunnel/issues/6119#issuecomment-1877985154
I had a same problem, so I deleted 'datasource-hive-1.0.0.jar' file at the $SEATUNNEL_WEB/libs
After deleted, it runs well but cannot use hive connector. So it need to fix
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] web 无法启动,找不到方法 org.eclipse.jetty.server.session.SessionHandler.setMaxInactiveInterval(I)V [seatunnel]
Posted by "lidongfu005 (via GitHub)" <gi...@apache.org>.
lidongfu005 commented on issue #6119:
URL: https://github.com/apache/seatunnel/issues/6119#issuecomment-2040994337
我也是这个问题,无法启动
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] web 无法启动,找不到方法 org.eclipse.jetty.server.session.SessionHandler.setMaxInactiveInterval(I)V [seatunnel]
Posted by "Tory31 (via GitHub)" <gi...@apache.org>.
Tory31 commented on issue #6119:
URL: https://github.com/apache/seatunnel/issues/6119#issuecomment-2051208599
I also have the same problem, it happens in the container
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] web 无法启动,找不到方法 org.eclipse.jetty.server.session.SessionHandler.setMaxInactiveInterval(I)V [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6119:
URL: https://github.com/apache/seatunnel/issues/6119#issuecomment-1955494535
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] web 无法启动,找不到方法 org.eclipse.jetty.server.session.SessionHandler.setMaxInactiveInterval(I)V [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #6119: web 无法启动,找不到方法 org.eclipse.jetty.server.session.SessionHandler.setMaxInactiveInterval(I)V
URL: https://github.com/apache/seatunnel/issues/6119
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] web 无法启动,找不到方法 org.eclipse.jetty.server.session.SessionHandler.setMaxInactiveInterval(I)V [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6119:
URL: https://github.com/apache/seatunnel/issues/6119#issuecomment-1926010772
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org