loaded class X was in fact named Y

TEIXOEIRA@terra.es TEIXOEIRA@terra.es
Fri Jan 13 11:36:00 GMT 2006


It's ./probas/Messages.class from compiling ./probas/Messages.java automaticly generated by eclipse to access a properties file. Just that 
simple.
Thanks.

----Mensaje original----
De: rmathew@gmail.com
Recibido: 13/01/2006 10:17
Para: <TEIXOEIRA@terra.es>
CC: <java@gcc.gnu.
org>
Asunto: Re: loaded class X was in fact named Y

-----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-----





Prueba el Nuevo Correo Terra; Seguro, Rápido, Fiable.



More information about the Java mailing list