1 Reply Latest reply on Jul 24, 2012 12:57 PM by Justin Bertram

    NoClassDefFoundException with HornetQ Standalone server

    buhls Newbie

      Hornetq newbie here. I"m running HornetQ 2.2.5 Final in Standalone mode and using the JMS API.   I'm getting NoClassDefFoundExceptions in my client code

      when I try to perform a lookup a Connection Factory or Topic name.

       

      ex. java.lang.NoClassDefFoundError: Lorg/hornetq/api/core/logging/Logger

       

      ex. java.lang.NoClassDefFoundError: Lorg/hornetq/api/core/SimpleString

       

       

      I've including the following jars in my client app classpath:

      jnp-client.jar

      hornetq-jms-client.jar

      jboss-jms-api.jar

       

      I've also tried adding the following to the classpath as well:

      hornetq-core.jar

       

       

      The server starts up with no errors (stand-alone/non-clustered), and I get the InitialContext fine.

      This is all I saw in the documentation. What am I possibly missing?

       

      thanks,

      buhls