0 Replies Latest reply on Jun 4, 2012 9:34 AM by ivica

    TestNG, Embedded JBoss, Infinispan 5.0.1, Seam 2.2.1 does not start, Logger problem

    ivica

      Hi,

       

      I have a problem with starting the unit tests that are extending the SeamTest.

       

      My project is created with seam-gen using Seam 2.2.1 and the Embedded JBoss provided with it. I am using Ant.

       

      The project is using Infinispan 5.0.1.

       

      Infinispan Cache is failing to start because it is referencing a org.jboss.logging.Logger class in the Embedded JBoss, and not the class provided with the third party jar, like jboss-logging-3.0.0.GA.jar.

       

      Here is the error message:

       

      java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;

       

      How can I start the embedded jboss and make him use org.jboss.logging.Logger class from a third party jar?

       

      I am not sure if this is enough details. I can provide more if needed.

       

      Thanks in advance.