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

Jakarta EE old namespace (javax.servlet) breaking in newest servlet containers #133

Open
jontxu opened this issue Feb 11, 2022 · 0 comments

Comments

@jontxu
Copy link

jontxu commented Feb 11, 2022

Hi,

this is more of a heads up than an issue per se, but it is bound to happen when old servlet containers reach EOL, or when people want to deploy VOLLT in the newest version(s) of servlet containers like Tomcat.

Jakarta EE (formerly Java EE) has had a namespace change from javax.servlet to jakarta.servlet starting from the Servlet 5.0 API. As such, newest servlet containers will not find the associated classpath. This is a breaking change and old code will not work out of the box; which is quite counterproductive.

As a measure, Tomcat has developed a tool which allows to make Java EE applications Jakarta EE compatible. I think it could be useful to note it on the readme file in order to make people aware instead of wondering why their deployment returns a 404 error.

@jontxu jontxu changed the title Java EE old namespace (javax.servlet) breaking in newest servlet containers Jakarta EE old namespace (javax.servlet) breaking in newest servlet containers Feb 11, 2022
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