This is my code:
ServletRegistrationBean<LogViewerServlet> servlet = new ServletRegistrationBean<>();
My spring boot is 3.x.x which is use jakarta packages instead of javax.
So my code won't compile:
Bound mismatch: The type LogViewerServlet is not a valid substitute for the bounded parameter <T extends Servlet> of the type ServletRegistrationBean<T>
Could you please fix that?
thanks