Did you make sure to declare your class in the samples.userguide.example4 package?
Sorry if I offend but sometimes we tend to look over the obvious. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, February 13, 2005 9:03 AM To: [EMAIL PROTECTED] Subject: NoClassDefFoundError samples/userguide/example4/Client2 Hello, I have a problem with example4 of the userguide. The command > java samples.userguide.example4.Client > -lhttp://localhost:8080/axis/services/LogTestService work fine. When I create a new file Client2.java in the same directory with the same content(only the name is different) I can compile it whitout erros, but the command: > java samples.userguide.example4.Client2 > -lhttp://localhost:8080/axis/services/LogTestService give me NoClassDefFoundError : java.lang.NoClassDefFoundError: samples/userguide/example4/Client2 Exception in thread "main" Could anyone explain me, why this happens?? TIA! Arcor-DSL: die echte Flatrate für alle Bandbreiten. Jetzt ohne Einrichtungspreis einsteigen oder wechseln. Arcor-DSL ist in vielen Anschlussgebieten verfügbar. http://www.arcor.de/home/redir.php/emf-dsl-1