4 Replies Latest reply on Aug 22, 2005 1:21 PM by jamesschopp

    Using JDOM 1.0 in a WAR - Web application archive

    hcmeyer

      Hello,

      I'm using Jboss 4.0.2, my Web Application which is deployed as a WAR file is using JDOM 1.0 (currently in WEB_INF/lib/jdom.jar) but apparently the classloader is not loading the actual jdom.jar out of my WAR.
      If I put jdom.jar in server/default/lib it is not working either.

      org.jdom.JDOMException: java.lang.NoClassDefFoundError: org/jdom/Text: org/jdom/Text


      when I'm testing the jdom parts with junit everything is fine, I think there is a problem with the classloader and the exisiting jdom version which jboss is using but I have no clue how to solve it ...

      thank you in advance