Name: dbT83986 Date: 02/23/99
=20
original user synopsis: "ClassNotFoundException when class can be found"
I stumbled over a misleading error message in
RMI. If you have a class foo:
public class foo implements other.package.bar
{
}
And send a foo object over RMI and the remote
side knows about 'foo', but not about
other.package.bar it will say=20
java.lang.NoClassDefFoundError: ..foo
It should complain about other.package.bar, not foo
(Review ID: 42920)
======================================================================
- duplicates
-
JDK-4205440 ObjectInputStream.inputClassDescriptor erroneously traps NoClassDefFoundError
-
- Resolved
-