Forums Register Login

java.rmi.UnmarshalException

+Pie Number of slices to send: Send
I try many times , but still have the errors
my Client.jar contains
1. all of Client classes
2. suncertify\server\RemoteDataServer_stub.class
when I use
java -jar Client.jar 197.1.1.1:1099 the problem
occurs:
initial url rmi://197.1.1.1:1099/ServerManager
FBNDataModeller : java.rmi.UnmarshalException: error unmarshalling return; neste
d exception is:
java.lang.ClassNotFoundException: suncertify.server.RemoteDataServer_Stu
b
the client contains all the *_stub.class.
but I use :
java suncertify.client.Client 197.1.1.1 1099
it works, why? it also works when I use:
java -Djava.rmi.server.codebase=file:///suncertify/server.jar -jar client.jar
I have to use :
"package suncertify.server" in all classes in server,and this arouse the client can not find
the suncertify.server.RemoteDataServer_Stu
b,help,how to resolve this problem.
We're all out of roofs. But we still have tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 631 times.
Similar Threads
RMI ClassNotFoundException ===Help
Creepy classpath?
Package problem
A strange problem about the independent client
problem executing executable jar file
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:17:03.