3 Replies Latest reply on May 16, 2003 1:11 PM by sysuser1

    java.lang.NoClassDefFoundError: org/jboss/logging/Logger

    sysuser1

      Yes, I have jbossall-client.jar in my client classpath. I have the sample jndi.properties file in the classpath as well. I can open the .jar and SEE this class.

      Anybody have any idea what the hell is going on? I searched the topics here and found nothing useful.

      Here's the full stack trace:

      java.lang.NoClassDefFoundError: org/jboss/logging/Logger

      at org.jnp.interfaces.NamingContext.(NamingContext.java:95)

      at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:51)

      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)

      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)

      at javax.naming.InitialContext.init(InitialContext.java:219)

      at javax.naming.InitialContext.(InitialContext.java:175)

      at wassparser.TestClient1Frame.button1_actionPerformed(TestClient1Frame.java:121)

      at wassparser.TestClient1Frame$1.actionPerformed(TestClient1Frame.java:44)

      at java.awt.Button.processActionEvent(Button.java:382)

      at java.awt.Button.processEvent(Button.java:350)

      at java.awt.Component.dispatchEventImpl(Component.java:3614)

      at java.awt.Component.dispatchEvent(Component.java:3476)

      at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

      at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


      It dies at:
      InitialContext jndiContext=new InitialContext();

      I've been using Jboss 2.2.2 for years and have never encountered this...it's driving me crazy. This is Jboss 3.0.6 against JDK 1.4.2 beta.

      Thanks.

      Trav