You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: