NoClassDefFoundError raised

COURTAULT Francois <[email protected]> Wed, 24 Jul 2024 10:53:00 +0000
Newsgroups gmane.comp.java.openejb.user
Message-ID <MR1P264MB2355ADA12C4193E9C9DCD4409DAA2__4201.58851645596$1721818558$gmane$org@MR1P264MB2355.FRAP264.PROD.OUTLOOK.COM>
THALES GROUP LIMITED DISTRIBUTION to email recipients

Hello,

One of our teams is migrating an application using TomEE 8.0.16 to 9.1.3.
Unfortunately, they get this:
org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
        java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletResponse
                at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
                at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3373)

Of course the application code has been updated in order to replace javax packages to jakarta packages.
The libraries used have also been updated to be compatible to Jakarta 9.1.

Any idea where this issue comes from ?

Best Regards.