2 Replies Latest reply on Nov 29, 2011 4:36 PM by bleathem

    Jboss 7 + Maven + Richfaces

    myrabbitrules

      Hi!

       

      I'm using JBoss7 with Maven under Eclipse Indigo.

      I'm trying to get Richfaces 4 started. I've read this article:  http://community.jboss.org/wiki/HowtoaddRichFaces4xtomavenbasedproject

       

      Unfortunately things don't work after I've changed my pom. First problem:

       

      WARN  [org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor] (MSC service thread 1-6) Could not index class com/steadystate/css/dom/CSSCharsetRuleImpl.class in archive '"/C:/jboss-as-7.0.2.Final/standalone/deployments/bloodline.war/WEB-INF/lib/cssparser-0.9.5.jar"': java.util.zip.ZipException: invalid LOC header (bad signature)

       

       

      After several more warnings I get an error related to deployment. I've attached my pom.xml. Apart from modifying pom.xml I've done nothing to get Richfaces going.

      I'd appreciate your help.

        • 1. Re: Jboss 7 + Maven + Richfaces
          myrabbitrules

          Can't anybody help me? After all adding richfaces should be a basic task. I've now attached the whole relevant log above. I'm a beginner but it seems to me, that cssparser jar is corrupt. How an this be and what should be done?

          • 2. Re: Jboss 7 + Maven + Richfaces
            bleathem

            If you think a corrupt jar file is the problem, try deleteing it from you local maven repository, and rebuilding your application.

             

            Failing that, try downloading and building the dev-examples.  Any problems building deploying those should be enough to isolate what's different about your environment,