pjfanning commented on PR #8699:
URL: https://github.com/apache/hadoop/pull/8699#issuecomment-5401765023
> > `javax.servlet:javax.servlet-api` and
`jakarta.servlet:jakarta.servlet-api` both publish the `javax.servlet`
>
> This is the beginning of chaos. And in practice, during the migration,
it's likely that we need both `javax.servlet` and `jakarta.servlet`, in this
case, the `javax.servlet` must be provided by
`javax.servlet:javax.servlet-api`, right?
The jakarta.servlet groupId does not imply the jakarta.servlet package.
Version 4.0.x was just the artifact rename under the Eclipse Foundation — the
classes are still javax.servlet.http.HttpServlet. The actual package rename
("big bang") landed in 5.0.0. So if you see jakarta.servlet-api:4.0.4 on a
classpath, your imports are still javax.*.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]