jimmybow commented on issue #5089:
URL: https://github.com/apache/hop/issues/5089#issuecomment-2760971319
OK, I already try replace javax.servlet to jakarta.servlet , and it work
with springboot,
but I need set JettyMode = true
```
@Bean
public ServletRegistrationBean getStatusServlet() {
GetStatusServlet servlet = new GetStatusServlet();
servlet.setJettyMode(true);
return new ServletRegistrationBean(servlet, "/hop/status/origin");
}
```
and mark each servlet class code in **org.apache.hop.www** because
request.getRequestURI() is empty string ...
```
//if (isJettyMode() &&
!request.getRequestURI().startsWith(CONTEXT_PATH)) {
// return;
//}
```
--
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]