# Classloader troubleshooting in Payara 6.2

**URL:** <https://forum.payara.fish/t/classloader-troubleshooting-in-payara-6-2/921>\
**Category:** Technical Discussion\
**Created:** [September 13, 2024, 11:52am UTC](https://forum.payara.fish/t/classloader-troubleshooting-in-payara-6-2/921 "2024-09-13T11:52:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![retaylor64](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@retaylor64](https://forum.payara.fish/u/retaylor64)\
**Post date:** [September 13, 2024, 11:52am UTC](https://forum.payara.fish/t/classloader-troubleshooting-in-payara-6-2/921/1 "2024-09-13T11:52:28Z")

</div>

I am trying to deploy/run a JSP application in Payara 6.2 which has been upgraded to Jakarta 9.1. All relevant pom file dependencies, Java code, and JSP have been updated for Jakarta. There are no references to javax.servlet anywhere in the code base. When I attempt to deploy the application, the application server errors out while trying to load the class javax.servlet.jsp.tagext.BodyTagSupport (see below):

java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport.

I’m not sure why the classloader is trying to load the old javax version of the class and trying to figure out how to rectify this. I don’t see anything in the application dependencies that should be causing this.

---

<div class="post-metadata">

**Author:** ![paubrecht](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@paubrecht](https://forum.payara.fish/u/paubrecht)\
**Post date:** [September 23, 2024, 7:37am UTC](https://forum.payara.fish/t/classloader-troubleshooting-in-payara-6-2/921/2 "2024-09-23T07:37:47Z")

</div>

Hi,  
I have seen similar situation with Faces, when I use Primefaces. It’s necessary to use the right version of the library.  
If you don’t have any “javax” in your application, I would suspect libraries.  
Can you share your dependencies in the pom.xml?

Petr

---

<div class="post-metadata">

**Author:** ![retaylor64](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@retaylor64](https://forum.payara.fish/u/retaylor64)\
**Post date:** [September 25, 2024, 11:34am UTC](https://forum.payara.fish/t/classloader-troubleshooting-in-payara-6-2/921/3 "2024-09-25T11:34:43Z")

</div>

Hi, this is a large app with multiple pom files/subcomponents. I’m not sure that i could share everything but I could share servlet/JSP related dependencies if you think that would help.

---

<div class="post-metadata">

**Author:** ![paubrecht](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@paubrecht](https://forum.payara.fish/u/paubrecht)\
**Post date:** [October 7, 2024, 5:01pm UTC](https://forum.payara.fish/t/classloader-troubleshooting-in-payara-6-2/921/4 "2024-10-07T17:01:41Z")

</div>

Hi, anything found in the meantime?  
Yes, if you are able to do a small reproducer, it would help.  
Petr
