4 Replies Latest reply on Jul 1, 2009 10:40 AM by Peter Johnson

    NoClassDefFoundError in client class using jms Topic

    Gianpaolo Siano Newbie


      I have this very simple "Publisher" class connecting to a Topic: "orders".
      The xml file orders-Topic.xml is deployed in /server/default/deploy/jbossall-client.jar/.

      After compilation (javac -classpath Applications/jboss-4.0.2/client/jbossall-client.jar Purchase.java), I get this run-time error:

      java -classpath Applications/jboss-4.0.2/client/jbossall-client.jar Purchase

      Exception in thread "main" java.lang.NoClassDefFoundError: Publisher

      Where is the problem?!? Any suggestion?

      Thanks in advance.