5 Replies Latest reply on Nov 21, 2006 9:37 AM by Alexander Fedorenko

    Some jars in WEB-INF/lib are not visible

    jm collin Newbie

      Hello there,
      I've got a strange classloading issue.
      I've got an ear containing a war containing a WEB-INF/lib directory with a lot of jars (struts-1.2.7.jar, fop-0.92.jar, ...).

      The classes in struts-1.2.7.jar are well found but the classes in fop-0.92.jar are not.
      Error messages are :

      [exec] 12:32:19,515 ERROR [[action]] Servlet.service() for servlet action threw exception
       [exec] java.lang.NoClassDefFoundError: org/apache/fop/apps/FOPException


      When I put the fop-0.92.jar in the server/default/lib dir it's working, but I rather prefer to have it in WEB-INF/lib.

      I try what is specified in : http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration without success.

      Have you an idea of what happens ?

      Thank's in advance.