[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Some jars in WEB-INF/lib are not visible

jmcollin92 do-not-reply at jboss.com
Sat Nov 18 06:49:01 EST 2006


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. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987059#3987059

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987059



More information about the jboss-user mailing list