Hi, guys!
I have an application with Websphere 8.5, I upgraded spring boot version from 2.4.0 to 2.5.0 locally and it worked, however, when I tried to deploy it I got the error:
NoClassDefFoundError: javax.servlet.http.HttpSessionIdListener.
I was wondering if there is any way to fix it, other than upgrading Websphere 9.0.
Spring Boot and Websphere have nothing to do with each other. Changing the version of one won't help with problems with the other.
Actually, if my memory doesn't fail, Spring Boot 2.5 changes JEE from the traditional javax namespace to the jakarta namespace and therefore class packages related to JEE would also have to be changed.
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.
Tim Holloway wrote:Actually, if my memory doesn't fail, Spring Boot 2.5 changes JEE from the traditional javax namespace to the jakarta namespace and therefore class packages related to JEE would also have to be changed.
Your memory fails, because the switch to jakarta was done in Spring Boot 3.0.0 (along with requiring Java 17 or higher). All 2.x versions still use javax.