有很多原因会引起这样的问题!

解决方案 »

  1.   

    1.if an exception occurs while unmarshalling the call header 
    2.if the protocol for the return value is invalid 
    3.if a java.io.IOException occurs unmarshalling parameters (on the server side) or the return value (on the client side). 
    4.if a java.lang.ClassNotFoundException occurs during unmarshalling parameters or return values 
    5.if no skeleton can be loaded on the server-side; note that skeletons are required in the 1.1 stub protocol, but not in the 1.2 stub protocol. 
    6.if the method hash is invalid (i.e., missing method). 
    7.if there is a failure to create a remote reference object for a remote object's stub when it is unmarshalled.