Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
(Java) V4 4.8.0
-
None
-
None
Description
When migrating my code from tomcat 9 to tomcat 10 I had to change all HttpServletRequest/Response from javax.servlet to jakarta.servlet.
Otherwise the tomcat app cannot find any servlets is it does search for all jakarta.* implementations.
But that breaks the Olingo servlet, its handler expects javax.* objects.
Also getting javax libraries as dependencies is not nice either, so olingo itself should not use javax package in such an environment either, e.g. javax.http.
I was a bit surprised having seen just two other issues in Jira related to that but none making the full request. For Java9 you just have to manually add the javax dependency and you are good to go. Does not help when the servlet engine itself requires you to use jakarta.