2 Replies Latest reply on May 19, 2009 4:29 AM by Frank Martin

    Strange ConfigurationException / NoClassDefFoundException ..

    Frank Martin Newbie

      Hello,

      I'm a RichFaces/JSF newbie and I don't know why I'm getting these exceptions when starting Tomcat 6 (through Eclipse).

      When I start Tomcat 6, sometimes (but now I can't reproduce it!) I get a JSF ConfigurationException caused by some NoClassDefFoundException (the class not found IS there; this is not a missing JAR problem).

      Now I have all JARs into WEB-INF/lib but, when it happens, I can fix the exception if I move these JARS to Tomcat lib:

      commons-beanutils-1.7.0.jar
      commons-collections-3.2.jar
      commons-digester-1.8.jar
      commons-logging-1.0.4.jar
      jsf-api-1.2_12.jar
      jsf-impl-1.2_12.jar


      Do you know what can be happening?

      Is it correct to put the JSF-related JARs into WEB-INF/lib? Is it better to put them in the server lib folder?

      Thank you very much.

      Some info: I'm running Tomcat 6 on Eclipse Ganymede and these are all the JARs in my WEB-INF/lib:
      commons-beanutils-1.7.0.jar
      commons-collections-3.2.jar
      commons-digester-1.8.jar
      commons-logging-1.0.4.jar
      jsf-api-1.2_12.jar
      jsf-facelets-1.1.14.jar
      jsf-impl-1.2_12.jar
      jstl-1.2.jar
      richfaces-api-3.3.0.GA.jar
      richfaces-impl-3.3.0.GA.jar
      richfaces-ui-3.3.0.GA.jar
      standard-1.1.2.jar