Hi,
Somehow your compile-time and run-time classpaths are different.
Look at the ant scripts (they build a classpath for compiling) and at
your environment (if you're on UNIX, 'printenv' or 'set', on Windows,
'set' at the command prompt seems to work these days. Hurrah for
emergent standards.) More or less, you want to add the classpath from
the Ant files to your system classpath, or define it on your command
line or in your run script or whatever makes sense.
Cheers,
Chris
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, April 26, 2002 12:06 AM
To: [EMAIL PROTECTED]
Subject: can't run main!!! exception in thread main please help!!!
Hi,
When I run a main program which is in a class, I can complie it without
error but when I run it I have this error ( here is for SimpleTypeUsage
in
xerces-2_0_1\samples, but I have this problem for every other files) :
java.lang.NoClassDefFoundError: SimpleTypeUsage
Exception in thread "main" .
It makes me crazy! Have you an idea?
Thanks
Jc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]