0 Replies Latest reply on Apr 24, 2002 2:36 PM by John Walshe

    Deploying a servlet with a jar file in the web-inf/lib dir

    John Walshe Newbie

      I have got a servlet to call an EJB. Now I am trying to add a jar file to my servlet by placing it in the WEB-INF\lib dir. When I use a class from my jar file in the servlet I get a NoClassDefFoundError exception. Now if I add my new jar file to jboss/lib/ext dir everything works fine. Do I have to declare my .jar file so that my servlet can pick it up. I just thought I put in the WEB-INF/lib dir and war it up and that should be that.
      I am using jboss-2.4.4 and tomcat 3.2.3
      Any idea's?