Skip to content
Advertisement

Tag: undertow

Wildfly Undertow: jakarta.servlets.Servlet does not implement javax.servlet.Servlet

I am trying to migrate some Servlets from javax libraries to jakarta. Changes are pretty straightforward but, when I try to run them on Wildfly 23, I get this error message: Servlet JAX-WS-Service of type class com.sun.xml.ws.transport.http.servlet.WSServlet does not implement javax.servlet.Servlet This happens for this servlet (used for JAXWS, but that’s not the point) but also with my own servlets,

Undertow: Using existing Servlet instance

I am trying to replace in an existing application the embedded web server with Undertow as the old does not work correctly in some cases. The embedded web server is used to server a few simple servlets. My main problem is that I can’t find a way to register an existing HttpServlet instance in Undertow. All API methods I was

Advertisement