3 Replies Latest reply on Oct 28, 2002 9:28 AM by prabhakar chaganti

    NoClassDefFoundError: org/jboss/logging/Logger

    Johan Maritz Newbie

      When I run the sample \org\jboss\docs\interest\InterestClient.java Application I get the following error.

      interest-client:
      [java] java.lang.NoClassDefFoundError: org/jboss/logging/Logger
      [java] at org.jnp.interfaces.NamingContext.(NamingContext.java:89)
      etc......

      I have added the following two JAR's to the client classpath which resolves the above problem:
      1.) C:\jboss3.0.2\client\jboss-common-client.jar
      2.) C:\jboss3.0.2\client\log4j.jar

      What I want to know is this! The client application does at no stage(to my knowledge) make use of "org.jboss.logging.Logger" or "org.apache.log4j.Priority" in the above Jar's.

      I would imagine that at any time if any logging occured, that it would be Jboss and not the client making use of the logging. So, if this is the case, why does the client require these Jar's in the classpath in order to run? I am running JBOSS 3.0.2 without tomcat. Someone please help...