[rabbitmq-discuss] re java client error

aniruddh narayan aniruddh.narayan at yahoo.co.in
Tue Sep 8 06:26:09 BST 2009


Hi paul..the previous was a typo error....anyway included the (.) current directory to the classpath.....but in vain....following is the output

C:\>javac HelloServer.java
C:\>java HelloServerException in thread "main" java.lang.NoClassDefFoundError: HelloServer (wrong name: com/rabbitmq/examples/HelloServer)        at java.lang.ClassLoader.defineClass1(Native Method)        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)        at java.security.AccessController.doPrivileged(Native Method)        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)        at
 java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
C:\>java com.rabbitmq.examples.HelloServerException in thread "main" java.lang.NoClassDefFoundError: com/rabbitmq/examples/HelloServer
Ani

























      See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090908/154775dc/attachment.htm 


More information about the rabbitmq-discuss mailing list