Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LogViewerServlet still reference to javax.servlet.http.HttpServlet, unable to use it in spring boot 3. #216

Open
Mike-the-one opened this issue Aug 23, 2024 · 0 comments

Comments

@Mike-the-one
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant