You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Borisas Bursteinas <bo...@globalrelay.net> on 2023/01/06 09:26:12 UTC
Spring 6 (javax->jakarta)
Hi there
Have been porting code from Spring 5 to Spring 6 and run into following
issue.
TServlet is extendingjavax.servlet.http.HttpServlet. Spring 6 performed
jakartification and is using jakarta.servlet.* now, so its
ServletRegistrationBean now expects variable which is extended from
jakarta.servlet.Servlet. javax and jakarta namespaces are different,
thus this is a breaking change of Spring 6. My question is if Thrift has
plans to tackle that? I do not think I have permission to open a new
ticket, so it would be great if somebody who has could create one. Thank
you.
...
TServlet tServlet =new TServlet(...);
ServletRegistrationBean<Servlet> servletRegistrationBean =new ServletRegistrationBean<>(tServlet,"/");
...
Best regards
Borisas Bursteinas