xxllea opened a new issue, #6002: URL: https://github.com/apache/seatunnel/issues/6002
### 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 After the seatunnel web service is started, it cannot be accessed and backend logs are output: 2023-12-13 21:00:23.421 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [AbstractLogger.info():69] - Client statistics is enabled with period 5 seconds. 2023-12-13 21:00:23.556 seatunnel VM-4-4-centos WARN [tr:,sp:] [main] [GroovyTemplateAutoConfiguration$GroovyMarkupConfiguration.checkTemplateLocationExists():86] - Cannot find template location: classpath:/templates/ (please add some templates, check your Groovy configuration, or set spring.groovy.template.check-template-location=false) 2023-12-13 21:00:24.009 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [ContextHandler$Context.log():2368] - Initializing Spring DispatcherServlet 'dispatcherServlet' 2023-12-13 21:00:24.009 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [FrameworkServlet.initServletBean():525] - Initializing Servlet 'dispatcherServlet' 2023-12-13 21:00:24.011 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [FrameworkServlet.initServletBean():547] - Completed initialization in 1 ms 2023-12-13 21:00:24.022 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [AbstractConnector.doStart():333] - Started ServerConnector@46fb0c33{HTTP/1.1, (http/1.1)}{0.0.0.0:8801} 2023-12-13 21:00:24.023 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [JettyWebServer.start():172] - Jetty started on port(s) 8801 (http/1.1) with context path '/' 2023-12-13 21:00:24.024 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [DocumentationPluginsBootstrapper.start():120] - Context refreshed 2023-12-13 21:00:24.049 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [DocumentationPluginsBootstrapper.start():123] - Found 1 custom documentation plugin(s) 2023-12-13 21:00:24.075 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [ApiListingReferenceScanner.scan():41] - Scanning for api listing references 2023-12-13 21:00:24.301 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: listAllTransformUsingGET_1 2023-12-13 21:00:24.316 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: listSinkUsingGET_1 2023-12-13 21:00:24.327 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: listSourceUsingGET_1 2023-12-13 21:00:24.333 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: syncUsingGET_1 2023-12-13 21:00:24.429 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: getJobDefinitionUsingGET_1 2023-12-13 21:00:25.009 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [StartupInfoLogger.logStarted():61] - Started SeatunnelApplication in 9.912 seconds (JVM running for 10.384) 2023-12-13 21:08:43.272 seatunnel VM-4-4-centos WARN [tr:,sp:] [qtp1106189986-17] [HttpChannel.handleException():776] - /ui/ java.lang.IncompatibleClassChangeError: Found interface org.eclipse.jetty.http.pathmap.PathSpec, but class was expected at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:457) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) at java.lang.Thread.run(Thread.java:750) ### SeaTunnel Version SeaTunnel 2.3.3 SeaTunnel Web 1.0.0 ### SeaTunnel Config ```conf # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # server: port: 8801 spring: application: name: seatunnel jackson: date-format: yyyy-MM-dd HH:mm:ss datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/seatunnel?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&allowPublicKeyRetrieval=true username: root password: 123456 mvc: pathmatch: matching-strategy: ant_path_matcher jwt: expireTime: 86400 secretKey: https://github.com/apache/seatunnel algorithm: HS256 --- spring: config: activate: on-profile: h2 sql: init: schema-locations: classpath*:script/seatunnel_server_h2.sql datasource: driver-class-name: org.h2.Driver url: jdbc:h2:mem:seatunnel;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true username: sa password: sa h2: console: enabled: true path: /h2 settings: trace: false web-allow-others: false ``` ### Running Command ```shell sh bin/seatunnel-backend-daemon.sh start ``` ### Error Exception ```log 2023-12-13 21:00:23.421 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [AbstractLogger.info():69] - Client statistics is enabled with period 5 seconds. 2023-12-13 21:00:23.556 seatunnel VM-4-4-centos WARN [tr:,sp:] [main] [GroovyTemplateAutoConfiguration$GroovyMarkupConfiguration.checkTemplateLocationExists():86] - Cannot find template location: classpath:/templates/ (please add some templates, check your Groovy configuration, or set spring.groovy.template.check-template-location=false) 2023-12-13 21:00:24.009 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [ContextHandler$Context.log():2368] - Initializing Spring DispatcherServlet 'dispatcherServlet' 2023-12-13 21:00:24.009 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [FrameworkServlet.initServletBean():525] - Initializing Servlet 'dispatcherServlet' 2023-12-13 21:00:24.011 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [FrameworkServlet.initServletBean():547] - Completed initialization in 1 ms 2023-12-13 21:00:24.022 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [AbstractConnector.doStart():333] - Started ServerConnector@46fb0c33{HTTP/1.1, (http/1.1)}{0.0.0.0:8801} 2023-12-13 21:00:24.023 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [JettyWebServer.start():172] - Jetty started on port(s) 8801 (http/1.1) with context path '/' 2023-12-13 21:00:24.024 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [DocumentationPluginsBootstrapper.start():120] - Context refreshed 2023-12-13 21:00:24.049 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [DocumentationPluginsBootstrapper.start():123] - Found 1 custom documentation plugin(s) 2023-12-13 21:00:24.075 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [ApiListingReferenceScanner.scan():41] - Scanning for api listing references 2023-12-13 21:00:24.301 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: listAllTransformUsingGET_1 2023-12-13 21:00:24.316 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: listSinkUsingGET_1 2023-12-13 21:00:24.327 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: listSourceUsingGET_1 2023-12-13 21:00:24.333 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: syncUsingGET_1 2023-12-13 21:00:24.429 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: getJobDefinitionUsingGET_1 2023-12-13 21:00:25.009 seatunnel VM-4-4-centos INFO [tr:,sp:] [main] [StartupInfoLogger.logStarted():61] - Started SeatunnelApplication in 9.912 seconds (JVM running for 10.384) 2023-12-13 21:08:43.272 seatunnel VM-4-4-centos WARN [tr:,sp:] [qtp1106189986-17] [HttpChannel.handleException():776] - /ui/ java.lang.IncompatibleClassChangeError: Found interface org.eclipse.jetty.http.pathmap.PathSpec, but class was expected at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:457) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) at java.lang.Thread.run(Thread.java:750) ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version Java8 ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
