1 Reply Latest reply on Aug 29, 2012 10:09 AM by Stephen Coy

    Problem with Logger/classpath in Richfaces Application

    tscheky Newbie

      Hi all,

       

      Following situation: I tried to make a web application with RichFaces on AS7, by downloading all necessary components (JSF2, Seam3) and putting the jars into the WEB-INF/lib-folder of my war file.

      Additionally I added the fr.opensagres.xdocreport.core-0.9.1.jar (seam depending maven jar) because otherwise an exception regarding XDocReport is thrown.

       

      But during the startup following exception is thrown:

       

      java.lang.NoClassDefFoundError: Lorg/slf4j/Logger

      Caused by: java lang.ClassNotFoundException: org.slf4j.Logger from [Module "deployment.RichFaces.ear.RichFaces-web.war:main" from Servie Module Loader]

       

      Does anybody know what is the reason for this? Do I have forgotten a jar? Or is this a classpath problem?

       

      Attached you can find my ear file including the war file of the app.

       

      Thank you!

      Regards Gerhard