• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

how to deploy Spring Boot version 2.5.0 with Websphere version 8.5?

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Saloon Keeper
Posts: 28471
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 22821
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Tim Holloway
Saloon Keeper
Posts: 28471
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK. I was wondering about that, since a minor point release and major package rename seemed unlikely.

Memory? What's memory? I forget.
 
Danger, 10,000 volts, very electic .... tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic