0 Replies Latest reply on Apr 15, 2003 1:17 PM by gibbsy

    NoClassDefFound problem

    gibbsy Newbie

      I get the following error when deploying my first war file.

      Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Layout

      I have a couple of jsps that are used within a Struts application. They do not specifically refer to log4j so am assuming that struts does this.
      I have one ActionForm and one Action

      My directory structure is as follows
      / -- *.jsp here
      /web-inf -- web.xml & *.tld & *.dtd here
      /web-inf/classes -- actions and forms classes here
      /web-inf/lib -- struts.jar, commons*.jar here

      Do I have to do something with the classpath as I have left this alone or do I need a manifest entry in the , OR am I doing something totally wrong (most likley)

      Please help