• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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: 28316
207
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: 22815
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: 28316
207
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.
 
Would anybody like some fudge? I made it an hour ago. And it goes well with a tiny ad ...
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic