Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have an error when I execute a Talend 8 ESB route.
This error occur when a route is executed has a micro service (Spring boot).
It works fine when the route is executed in Talend Studio.
Error at runtime :
java.lang.NoSuchMethodError:
javax.servlet.http.HttpServletMapping javax.servlet.http.HttpServletRequest.getHttpServletMapping()
More precision :
--------------
The route define a REST service.
This error occurs only if this route call another Talend route with a REST service.
What I have analysed :
The method HttpServletRequest.getHttpServletMapping() is only defined for Servlet version 4.0
Servlet version used by Talend 8 is 3.20.
Tomcat used by Talend is version 9.0.84 that use Servlet 4-0
Maybe this can explain the problem.
Hi @DDupont1610375152 ,
as you already suggested, the main issue appears to be a mismatch between the Servlet API version that Talend is using and the version expected by the embedded Tomcat server. Did you find a way to solve it?