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

Reply via email to