loaded class X was in fact named Y

Ranjit Mathew rmathew@gmail.com
Fri Jan 13 10:55:00 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

TEIXOEIRA@terra.es wrote:
> Let it be a gcj bug, then. Both in 3.4 and 4.0 versions.
[...]
>>> in thread "main" java.lang.NoClassDefFoundError: loaded class
>>> probas.messages was in fact named probas.
> Messages
> 
> This means that the name of a class in a .class file had the wrong
> case.  If you used gcj to compile this, then perhaps it is a 
> gcj bug
> of some kind.

Windows uses a case-insensitive (but usually case-preserving)
filesystem. To diagnose your problem, you need to tell us if
the class is in fact "probas.messages" or "probas.Messages"
and whether it is present as "./probas/messages.class" or
"./probas/Messages.class" - it could then be a simple matter
of renaming this file appropriately.

Thanks,
Ranjit.

- --
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDx3AkYb1hx2wRS48RAjwwAJ4y/RPLjjBxPMPDtM7EakWrRMzkwACcDpgQ
y3c/dP73m7Dz/FFn6LU7epQ=
=vPGl
-----END PGP SIGNATURE-----



More information about the Java mailing list