Frederik Uyttersprot <[EMAIL PROTECTED]> writes:

> Hello,
>
> I just started playing with XML-RPC and have the following problem.
> I'm also quite new to Java. I'm trying an example from Oreilly's Java
> & XML 2nd edition, getting the following error,
>
> D:\Java\bin\java.exe   test.server.HelloServer
> Working Directory - D:\Java\temp\
> Class Path - D:\Java\temp;d:\java\lib;d:\java\xmlrpc\xmlrpc-1.1.jar;.;d:\program
> 
>files\Kawa\kawaclasses.zip;D:\Java\lib\tools.jar;D:\Java\jre\lib\rt.jar;D:\Java\jre\lib\i18n.jar
> java.lang.NoClassDefFoundError: test/server/HelloServer Exception in thread "main" 
>Process Exit...

NoClassDefFoundErrors occur when a class referenced or imported by
code executing at run-time is not available (i.e. not in the
classpath).  Make sure all the classes that you're importing are in
your classpath.  If that doesn't work, make sure that all the classes
that your imports import are in the classpath at run-time.

Reply via email to