5 Replies Latest reply on Aug 9, 2007 12:05 PM by Enrico Testa

    org.jnp.interfaces.NamingContext throwing java.lang.NoSuchFi

    Tony Mai Apprentice

      Hello all,

      I am using JBoss 4.2.1GA. When I tried to perform a Context.lookup(), I ran into a java.lang.NoSuchFieldError: TRACE exception in the following line:

      org.jnp.interfaces.NamingContext:622
       boolean trace = log.isTraceEnabled();


      where log is of type org.jboss.logging.Logger.class.

      I think it's my client using the wrong jar file. I can see that there are several Logger in the following jar files:

      jboss-common-client.jar
      jbossall-client.jar
      jboss-common.jar
      jboss-ejb3-all.jar

      Which jar should I use?

      Thanks