[jboss-user] [Beginners Corner] - NoClassDefFoundError in client class using jms Topic

kyuss000 do-not-reply at jboss.com
Sat Jun 27 05:55:17 EDT 2009


HI,

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.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240500#4240500

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240500



More information about the jboss-user mailing list